[rt-users] History/log for Scrip in RT 4.0.1

2013-01-02 Thread tobiasbp
Hello list.

Is there any way to document when a Scrip has been dis/en-abled in RT
4.0.1. Looking at the database itself, I can see when the rule
definition itself has been updated and by whom, but not when it was
last dis/en-abled.

Any ideas?

Thank you,
Tobias Balle-Petersen


Re: [rt-users] Log of changes to queue custom fields in RT4?

2012-12-12 Thread tobiasbp
Hello

On Mon, Dec 10, 2012 at 6:00 PM,
rt-users-requ...@lists.bestpractical.com wrote:
 You've changed a mason file, have you cleared the mason cache

I had not. I did and it worked.

Thank you.

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Log of changes to queue custom fields in RT4?

2012-12-09 Thread tobiasbp
Hello...

I have added the line with the history link
to /usr/share/request-tracker4/html/Elements/Tabs on my Ubuntu machine. The
link does not show up on the queue page (I have restarted Apache)? Manually
changing the url to history.html conforms that the data stil exists (As you
wrote).

Thanks,
Tobias

On Sun, Dec 9, 2012 at 6:00 PM, rt-users-requ...@lists.bestpractical.comwrote:

 Looks like the link was unintentionally removed (the history page
 still exists).  You can try the patch here and it should be merged
 into a future 4.0 release.

 Thanks for catching this.


 https://github.com/bestpractical/rt/commit/11024f4115175e8fc9f6a92e589e28b5d45e83e0


We're hiring! http://bestpractical.com/jobs


[rt-users] Log of changes to queue custom fields in RT4?

2012-12-07 Thread tobiasbp
Hello list.

In RT 3.8 I there was a log of changes made to values in custom fields
on queues. I can not seem to find the same information in RT4.

Any ideas? I'm using the RT packages available in Ubuntu.

Thanks,
Tobias Balle-Petersen

We're hiring! http://bestpractical.com/jobs


[rt-users] Searching for values in a custom field identified by ID?

2011-10-25 Thread tobiasbp
Hello list.

I'm looking for resolved tickets with the value of 0 in the custom
field called Invoice no. like this:
$tickets-FromSQL('(CF.{Invoice no.}=0 AND Status = Resolved)');

The above works, but I would like to refer to the custom field by its
ID. How should i formulate my search?

I'm running RT 3.8.8.

Regards,
Tobias

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] Searching for values in a custom field identified by ID?

2011-10-25 Thread tobiasbp
Hello Kevin.

 If you're worried about name changes, just load the CF and use the
 -Name method to ensure you're always using the up-to-date name

I am indeed worried about name changes.

I am afraid your explanation does not make much sense to me as I am an
RT newbie. Are you able to illustrate you suggestion with code?

Thanks,
Tobias

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011


[rt-users] Perl API: Referring to possible values in combobox custom field by ID?

2011-10-19 Thread tobiasbp
Hello list.

I'm working on a script using the perl API. I'm running RT 3.8.8.

I have a custom field of type combobox. Let's say the field has two
possible values:
1: A
2: B

I can easily check if the field has a value of A or B. But, I
would like to refer to the values by ID (1 = A, 2 = B). As the values
may change in the future, but will still have the same meaning (from
the script perspective).

Any ideas?

Regards,
Tobias Balle-Petersen

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] Accessing and updating a custom field in queue with perl API?

2011-10-18 Thread tobiasbp
 Does $queue_obj-FirstCustomFieldValue(5); do what you want?

I does exactly what I want. Thank you!

Searching for FirstCustomFieldValue in the wiki. I found an example
showing how to update the custom field:
http://requesttracker.wikia.com/wiki/CustomField

Regards,
Tobias

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] Looking up queues by name in cli: How to handle spaces in names?

2011-10-13 Thread tobiasbp
 The only workaround I can see without code changes is using the queue's ID.

I would love to do that, but looking at a ticket I can not see the ID
of the queue, just the name:
rt show -l 103
id: ticket/103
Queue: queue name

Since I can't show queue name with the rt command I don't see how I
can get information on the queue?

Regards,
Tobias

RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011


[rt-users] Looking up queues by name in cli: How to handle spaces in names?

2011-10-12 Thread tobiasbp
Hello list.

I'm running RT 3.8.8 on Debian.

Using the cli I need to get information on queues. I can look up
queues with no spaces in their name, but I can't figure out to handle
queues with spaces in their names.

Looking up the queue queue_name works:
rt show -t queue some_queue

I can't figure out how to look up the queue queue name.
I have tried the below without success:
rt show -t queue some\ queue
rt show -t queue 'some queue'
rt show -t queue some%20queue

I get the error:
rt: show: Unrecognised argument 'queue name'.
rt: show: No objects specified.
rt: For help, run 'rt help show'.
rt: For help, run 'rt help queue'.

Any ideas?

Regards,
Tobias

RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011


[rt-users] Accessing custom fields of type Ticket Transactions using CLI?

2011-10-12 Thread tobiasbp
Hello list.

I need to look up up values for custom fields of type Ticket Transactions.

Using the query below, I can see the full ticket history, but the
custom field on transactions does not show up:
rt show -l 103/history

I'm using RT 3.8.8 on Debian.

Regards,
Tobias

RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011