[rt-users] Extract ticket contents into file(s)

Ruslan Zakirov ruz at bestpractical.com
Wed Mar 27 13:29:07 EDT 2013


On Tue, Mar 26, 2013 at 10:52 PM, Mark Komarinski
<mark_komarinski at hms.harvard.edu> wrote:
> On 03/26/2013 02:33 PM, ktm at rice.edu wrote:
>>
>>
>> I think the REST interface can do what you want:
>>
>> http://requesttracker.wikia.com/wiki/REST
>
>
> ticket/#/history?format=l looks like it might do what I need.  Thanks!
>

Dirty version using API:

my $ticket = RT::Ticket->new( $RT::SystemUser );
$ticket->Load(1234567890);
my $txns = $ticket->Transactions;
while (my $txn = $txns->Next ) {

    print $txn->Content, "\n\n";

}


> -Mark
>
> --
> Mark Komarinski                         mark_komarinski at hms.harvard.edu
> Manager                                 http://ritg.med.harvard.edu
> Research IT Group
> Harvard Medical School



-- 
Best regards, Ruslan.



More information about the rt-users mailing list