[rt-users] CLI change owner ship

Toby Darling darling at ccdc.cam.ac.uk
Mon Feb 18 06:27:00 EST 2008



Michael Hess wrote:
> Hello list,
> 
> I am looking for a way, that I can search all tickets that have not
> been updated in 72 hours, and change the owner on them to nobody from
> the CLI.

something like:

/usr/bin/rt list -i "lastupdated = '4 days ago'" | while read t; do
     /usr/bin/rt edit $t set owner=nobody
done

?

Cheers
Toby

LEGAL NOTICE
Unless expressly stated otherwise, information contained in this
message is confidential. If this message is not intended for you,
please inform postmaster at ccdc.cam.ac.uk and delete the message.
The Cambridge Crystallographic Data Centre is a company Limited
by Guarantee and a Registered Charity.
Registered in England No. 2155347 Registered Charity No. 800579
Registered office 12 Union Road, Cambridge CB2 1EZ.



More information about the rt-users mailing list