Stealing requests on the command-line

Hi,

I am in the process of migrating our RT 1 installation to RT 3.
We use a lot the command-line tool ‘rt’. What I am missing is the
possibility to steal a request. If I do:

rt edit ticket/1 set owner=dws

I get:

owner: You can only reassign tickets that you own or that are unowned

Is there any way to steal a ticket on the command-line?

Thanks
David
David Schweikert | phone: +41 44 632 7019
System manager ISG.EE | walk: ETH Zentrum, ETL F24.1
ETH Zurich, Switzerland | web: http://people.ee.ethz.ch/dws

Hi,

I am in the process of migrating our RT 1 installation to RT 3.
We use a lot the command-line tool ‘rt’. What I am missing is the
possibility to steal a request. If I do:

rt edit ticket/1 set owner=dws

I get:

owner: You can only reassign tickets that you own or that are unowned

Is there any way to steal a ticket on the command-line?
This message only appears when you set owner from user “xxx” to “yyy”
and both users are not you. It’s not a steal operation. You can easy
comment this check from code and allow such operation.

Thanks
David

David Schweikert | phone: +41 44 632 7019
System manager ISG.EE | walk: ETH Zentrum, ETL F24.1
ETH Zurich, Switzerland | web: http://people.ee.ethz.ch/dws


List info: The rt-devel Archives

Best Practical is hiring! Come hack Perl for us: Careers — Best Practical Solutions

Best regards, Ruslan.

Hello!On 4/9/06, Ruslan Zakirov ruslan.zakirov@gmail.com wrote:

On 4/5/06, David Schweikert dws@ee.ethz.ch wrote:

Hi,

I am in the process of migrating our RT 1 installation to RT 3.
We use a lot the command-line tool ‘rt’. What I am missing is the
possibility to steal a request. If I do:

rt edit ticket/1 set owner=dws

I get:

owner: You can only reassign tickets that you own or that are unowned

Is there any way to steal a ticket on the command-line?
This message only appears when you set owner from user “xxx” to “yyy”
and both users are not you. It’s not a steal operation. You can easy
comment this check from code and allow such operation.

I asked a while back and I’ll ask again: any particular reason not to
add an “AssignTicket” right and have the code check it?

Cheers!

–j
Jim Meyer, Geek at Large purp@acm.org

Hello!

Hi,

I am in the process of migrating our RT 1 installation to RT 3.
We use a lot the command-line tool ‘rt’. What I am missing is the
possibility to steal a request. If I do:

rt edit ticket/1 set owner=dws

I get:

owner: You can only reassign tickets that you own or that are unowned

Is there any way to steal a ticket on the command-line?
This message only appears when you set owner from user “xxx” to “yyy”
and both users are not you. It’s not a steal operation. You can easy
comment this check from code and allow such operation.

I asked a while back and I’ll ask again: any particular reason not to
add an “AssignTicket” right and have the code check it?
There is allready GiveTicket and TakeTicket rights, I think we could
allow this operatio if user has both rights.

Cheers!

–j

Jim Meyer, Geek at Large purp@acm.org

Best regards, Ruslan.

Hello!On 4/10/06, Ruslan Zakirov ruslan.zakirov@gmail.com wrote:

On 4/10/06, Jim Meyer purp@acm.org wrote:

I asked a while back and I’ll ask again: any particular reason not to
add an “AssignTicket” right and have the code check it?

There is allready GiveTicket and TakeTicket rights, I think we could
allow this operatio if user has both rights.

Seems my earlier email agreeing with you and offering three patches to
implement that didn’t get through to the list; lucky for me, though,
as Stephen Turner pointed out that GiveTicket doesn’t actually exist.
=]

So I’ll propose that we create a GiveTicket right and implement as
Ruslan suggests (and as my patches describe, once they arrive ;).

Cheers!

–j
Jim Meyer, Geek at Large purp@acm.org

Hello!

I asked a while back and I’ll ask again: any particular reason not to
add an “AssignTicket” right and have the code check it?

There is allready GiveTicket and TakeTicket rights, I think we could
allow this operatio if user has both rights.

Seems my earlier email agreeing with you and offering three patches to
implement that didn’t get through to the list; lucky for me, though,
as Stephen Turner pointed out that GiveTicket doesn’t actually exist.
Looks like it was dropped and my knowledge base is out of date :slight_smile:

=]

So I’ll propose that we create a GiveTicket right and implement as
Ruslan suggests (and as my patches describe, once they arrive ;).
I think we want to wait comment from Jesse or somebody who dropped that right.

Cheers!

–j

Jim Meyer, Geek at Large purp@acm.org

Best regards, Ruslan.

implement that didn’t get through to the list; lucky for me, though,
as Stephen Turner pointed out that GiveTicket doesn’t actually exist.
Looks like it was dropped and my knowledge base is out of date :slight_smile:

I think we want to wait comment from Jesse or somebody who dropped that right.

When did it get dropped? I have a recollection of an “AssignTicket”
right, but grepping doesn’t turn it up.

implement that didn’t get through to the list; lucky for me, though,
as Stephen Turner pointed out that GiveTicket doesn’t actually exist.
Looks like it was dropped and my knowledge base is out of date :slight_smile:

I think we want to wait comment from Jesse or somebody who dropped that right.

When did it get dropped? I have a recollection of an “AssignTicket”
right, but grepping doesn’t turn it up.
Strange, I was sure that exists right that allow somebody to change
owner of a ticket from nobody to someone else :confused: I’m confused

Best regards, Ruslan.

I think we want to wait comment from Jesse or somebody who dropped that right.

When did it get dropped? I have a recollection of an “AssignTicket”
right, but grepping doesn’t turn it up.
Strange, I was sure that exists right that allow somebody to change
owner of a ticket from nobody to someone else :confused: I’m confused

Me too.

Hi,

I am in the process of migrating our RT 1 installation to RT 3.
We use a lot the command-line tool ‘rt’. What I am missing is the
possibility to steal a request. If I do:

rt edit ticket/1 set owner=dws

I get:

owner: You can only reassign tickets that you own or that are unowned

Is there any way to steal a ticket on the command-line?

Thanks
David
David Schweikert | phone: +41 44 632 7019
System manager ISG.EE | walk: ETH Zentrum, ETL F24.1
ETH Zurich, Switzerland | web: http://people.ee.ethz.ch/dws