On Fri, Jul 13, 2012 at 09:59:49PM +0100, Tim Cutts wrote:
> >>
> >> but querying the database directly is not generally considered a smart
> >> thing to do, although I doubt this part of the schema is going to change
> >> any time soon.
> >
> > This is a list of people who are currently Owners
On 13 Jul 2012, at 15:51, Kevin Falcone wrote:
> You really don't want to go about it that way.
> You want to ask the Queue for the valid statuses, which is why I
> pointed to the perldoc for Queue.pm.
> A Queue object can get you both global and queue specific sets of
> statuses, and it can also
rs->Next ) {
print $Users->Name, "\n";
}
Thanks for the pointer
On Thu, 12 Jul 2012, Kevin Falcone wrote:
> Date: Thu, 12 Jul 2012 21:36:55 -0400
> From: Kevin Falcone
> Reply-To: rt-users@lists.bestpractical.com
> To: rt-users@lists.bestpractical.com
> Subje
a ticket?
thanks
On Fri, 13 Jul 2012, Tim Cutts wrote:
Date: Fri, 13 Jul 2012 10:01:33 +0100
From: Tim Cutts
To: Richard McMahon
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl API: list of available queues, owners, status
On 13 Jul 2012, at 01:01, Richard McMahon wrote:
OK
On Fri, Jul 13, 2012 at 10:01:33AM +0100, Tim Cutts wrote:
>
> On 13 Jul 2012, at 01:01, Richard McMahon wrote:
>
> > OK, that gets me the queue list.
> >
> > Is there an API way to get the full list of valid status values
>
> That's part of the configuration; it's not an API as such. That inf
On 13 Jul 2012, at 01:01, Richard McMahon wrote:
> OK, that gets me the queue list.
>
> Is there an API way to get the full list of valid status values
That's part of the configuration; it's not an API as such. That information is
all configurable by you in the %Lifecycle configuration (look
se the API.
>
> I have looked at QueueSummaryByStatus in RT4 but
>
>
> thanks
>
>
> On Thu, 12 Jul 2012, Kevin Falcone wrote:
>
> >Date: Thu, 12 Jul 2012 15:00:00 -0400
> >From: Kevin Falcone
> >Reply-To: rt-users@lists.bestpractical.com
> &
@lists.bestpractical.com
Subject: Re: [rt-users] Perl API: list of available queues, owners, status
On Thu, Jul 12, 2012 at 07:43:16PM +0100, Richard McMahon wrote:
I am doing some ASCII perl reports and one of the options is to supply
the queue name. I want to be able to get a list of the queues that
are
gt;Load the queue by name and see
if it exists, rather than list 20 queues and name compare each.
-kevin
>
> On Thu, 12 Jul 2012, Ruslan Zakirov wrote:
>
> >Date: Thu, 12 Jul 2012 21:30:15 +0300
> >From: Ruslan Zakirov
> >To: Richard McMahon
> >Cc: rt-users
t;new( RT->SystemUser );
$queues->UnLimit;
while ( my $queue = $queues->Next ) {
print $queue->Name, "\n";
}
>
> r.
>
>
> On Thu, 12 Jul 2012, Ruslan Zakirov wrote:
>
>> Date: Thu, 12 Jul 2012 21:30:15 +0300
>> From: Ruslan Zakirov
>> To: Ric
: Richard McMahon
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl API: list of available queues, owners, status
On Thu, Jul 12, 2012 at 7:58 PM, Richard McMahon wrote:
Hello,
Is there a way/example of how to get a list of queues, owners, status using
the Perl API?
I want to cycle
On Thu, Jul 12, 2012 at 7:58 PM, Richard McMahon wrote:
> Hello,
>
> Is there a way/example of how to get a list of queues, owners, status using
> the Perl API?
>
> I want to cycle through making a list counts for each owner
> and queue by status.
You want count tickets groupped by queue, owner a
Hello,
Is there a way/example of how to get a list of queues, owners, status
using the Perl API?
I want to cycle through making a list counts for each owner
and queue by status.
Thanks Richard
---
Dr. Richard G. McMahon|
Hello,
Sorry about empty mail.
On Wed, Oct 19, 2011 at 12:54 PM, tobiasbp wrote:
> 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
On Wed, Oct 19, 2011 at 12:54 PM, tobiasbp wrote:
> 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 "
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). A
At Friday 3/9/2007 08:37 AM, Krieg, Alexander wrote:
Hi everybody,
sorry i think in my last email i didn't see clearly the through the
right management.
What i mean is, how to give inside the Queue 'testqueue' the Group
'testgroup' a queueright e.g. 'SeeQueue' or 'showTicket'
Alexander,
Hi everybody,
sorry i think in my last email i didn't see clearly the through the
right management.
What i mean is, how to give inside the Queue 'testqueue' the Group
'testgroup' a queueright e.g. 'SeeQueue' or 'showTicket'
Best regards
Alexander Krieg
Hi everybody,
i already realised to
Hi everybody,
i already realised to create create queues and groups via the API, that
works all fine.
Where i hang at the moment is the right management.
I guess i can set rights for groups over something like
my $group = RT::Group->new($RT::SystemUser);
$group->LoadUserDefinedGroup('my grou
Thanks for the help. The following lets me create a ticket:
$body = MIME::Entity->new();
$body->build(
Type => 'text/plain',
Data => 'Test');
my $TicketObj = new RT::Ticket( $RT::SystemUser );
$TicketObj->Create( Queue => 'General',
Subject => 'Test Ticket2',
At Monday 2/5/2007 11:58 AM, John Arends wrote:
I'm still trying to wrap my head
around the Perl API.
I can create a ticket using the following code:
my $TicketObj = new RT::Ticket( $RT::SystemUser );
$TicketObj->Create( Queue =>
'General',
Subject =>
'Test Ticket',
I'm still trying to wrap my head around the Perl API.
I can create a ticket using the following code:
my $TicketObj = new RT::Ticket( $RT::SystemUser );
$TicketObj->Create( Queue => 'General',
Subject => 'Test Ticket',
Requestor => $Requestor );
Added examples to http://wiki.bestpractical.com/?CodeSnippets
On 1/29/07, Garry T. Williams <[EMAIL PROTECTED]> wrote:
[snip]
--
Best regards, Ruslan.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.be
On Monday 29 January 2007 10:59, John Arends wrote:
> I have the book right next to me. (It is a very good book, and buying it
> was the least I could do to support this project.)
>
> The problem is the book just touches on the subject. As someone who is
> trying to learn perl I can't pick up en
I've been looking at that myself. However some things just aren't clear.
For example: I need to create a script that pulls from the database for
each user the time spent on each customer (stored in a CF). So this
requires me to pull the user, the customer, all ticket transactions
associated wit
Matt;
I found the best resource is in /opt/rt3/lib/RT/
Find the appropriate module (Users_ , Tickets_ blah ) copy and hack away ..
Roy
Mathew wrote:
While the book has done me wonders in learning to use and configure RT,
it has done little for me in the realm of the codebase. I'm hoping the
tra
I have the book right next to me. (It is a very good book, and buying it
was the least I could do to support this project.)
The problem is the book just touches on the subject. As someone who is
trying to learn perl I can't pick up enough to figure out what to do
from the chapter on the perl A
While the book has done me wonders in learning to use and configure RT,
it has done little for me in the realm of the codebase. I'm hoping the
training in Boston helps in this regard :)
Mathew
Jesse Vincent wrote:
>
>
> On Mon, Jan 29, 2007 at 09:41:08AM -0600, John Arends wrote:
>> I'm somewh
On Mon, Jan 29, 2007 at 09:41:08AM -0600, John Arends wrote:
> I'm somewhat new to perl, but I'm starting to pick up a bit of it. There
> are a bunch of custom tasks I want to do to integrate RT with some other
> systems. I have been looking for some documentation, but what I saw in
> the RT
I've been trying to get the same help. However, there is limited
documentation on the codebase. I've asked questions here but I often
get cryptic answers that leave me not know what even I'm talking about.
Mathew
John Arends wrote:
> I'm somewhat new to perl, but I'm starting to pick up a bit o
I'm somewhat new to perl, but I'm starting to pick up a bit of it. There
are a bunch of custom tasks I want to do to integrate RT with some other
systems. I have been looking for some documentation, but what I saw in
the RT wiki was very limited for someone in my position.
Can anyone point me
31 matches
Mail list logo