[rt-users] CLI change owner ship
Michael Hess
mlhess at med.umich.edu
Mon Feb 18 17:21:13 EST 2008
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
>
This would work great, but when running it as root (rt's root not the
linux root user) I get the error
id: ticket/394
owner: nobody
# owner: You can only reassign tickets that you own or that are unowned
# Ticket 395 updated.
I want to keep people from sitting on tickets.
Any way to force it?
Thanks,
Michael
More information about the rt-users
mailing list