Setting owner using username and Tickets/Create.html?

Is there a way to specify the owner using username as an argument
instead of the principal id?

I’ve figured out the Requestors and Owner=id etc, but yeah… Ditto , is
there a way to do the Queue by name ?

Thanks

Adrian

Adrian Carter
Technical Manager
Leading Edge Internet

Web http://www.lei.net.au http://support.lei.net.au
Direct +61 2 6163 6162 Support 1 300 662 415
E-mail cartera@lei.net.au

Adrian Carter wrote:

Is there a way to specify the owner using username as an argument
instead of the principal id?

I’ve figured out the Requestors and Owner=id etc, but yeah… Ditto , is
there a way to do the Queue by name ?
Try it
http://localhost/Ticket/Create.html?Queue=General

And try
http://localhost/Ticket/Create.html?Queue=General&Owner=qwe&Status=new&Subject=test&Content=test&id=new

Ruslan (Jesse),
Found the issue. Using the second URL below does create a ticket
with the correct username. But using the ‘Create.html’ page without the
id/content fields (i.e, to get it to display a standard ‘create ticket
page’ with the values pre-populated) fails to update the “Owner” field
if you use a Username. If you use Owner= it works fine and correctly
updates the pull-down menu to be SELECTED on the specified Owner. Using
Owner= leaves this form defaulting to “Nobody”

Regards

Adrian

Ruslan U. Zakirov wrote:

Adrian Carter wrote:

Is there a way to specify the owner using username as an argument
instead of the principal id?

I’ve figured out the Requestors and Owner=id etc, but yeah… Ditto , is
there a way to do the Queue by name ?

Try it
http://localhost/Ticket/Create.html?Queue=General

And try
http://localhost/Ticket/Create.html?Queue=General&Owner=qwe&Status=new&Subject=test&Content=test&id=new

Thanks

Adrian

Adrian Carter
Technical Manager
Leading Edge Internet

Web http://www.lei.net.au http://support.lei.net.au
Direct +61 2 6163 6162 Support 1 300 662 415
E-mail cartera@lei.net.au

Ok, so I got this all figured out now, thanks Ruslan…

But… How does one go about setting Custom Field values in the same way
? :slight_smile: :slight_smile: :slight_smile:

Ruslan U. Zakirov wrote:

Adrian Carter wrote:

Is there a way to specify the owner using username as an argument
instead of the principal id?

I’ve figured out the Requestors and Owner=id etc, but yeah… Ditto , is
there a way to do the Queue by name ?

Try it
http://localhost/Ticket/Create.html?Queue=General

And try
http://localhost/Ticket/Create.html?Queue=General&Owner=qwe&Status=new&Subject=test&Content=test&id=new

Thanks

Adrian

Adrian Carter
Technical Manager
Leading Edge Internet

Web http://www.lei.net.au http://support.lei.net.au
Direct +61 2 6163 6162 Support 1 300 662 415
E-mail cartera@lei.net.au