Hi,
the P1 priority is hidden from most users because only tickets opened by calls are allowed to open a P1.
I would like to open tickets with P1 - Critical priority remotely.
I'm able to open tickets remotely using the generic interface, but it will still verify if P1 priority is available, or not.
So, I'm trying to enable P1 level of priority just before creating the ticket and then disable the P1.
I didn't found any documentation in the generic interface that allow to do this.
For testing purposes I also change the value of the valid_id to 1 in the database just to see if thats all it takes to make available, but its not enough.
So, what do I need to do to set the a priority to valid without using the web interface?
Thanks,
L. Pinho
Change Priority from Invalid to Valid without using the web interface
Re: Change Priority from Invalid to Valid without using the web interface
Use ACL to hide the P1 Priority in the webinterface, so it will still work in the Generic Interface
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Change Priority from Invalid to Valid without using the web interface
Hi,jojo wrote:Use ACL to hide the P1 Priority in the webinterface, so it will still work in the Generic Interface
I already tried to use ACLs to control this, but I wasn't able to find out how I could do this, I tried to restrict the P1 Agents only, and I didn't manage to find a way, I wasn't aware that I could apply ACLs and control what was being done over the Generic Interface.
Could you please point me where I can see documentation connecting priorities and ACLs?
Thanks
Re: Change Priority from Invalid to Valid without using the web interface
doc.otrs.org
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Change Priority from Invalid to Valid without using the web interface
Really? Not even a chapter (I guess the ACL chapter, off course, how stupid of me)?
With that great and wonderful help, full of useful information, I will just emulate the GUI requests using web requests get the cookies from the login, then request the session information based on the cookie and then get the challenge token and change the valid_id.
Just trying to get the best information possible to make things correctly, not expecting a RTFM.
Thanks jojo, may God bless you, you're doing a great job
With that great and wonderful help, full of useful information, I will just emulate the GUI requests using web requests get the cookies from the login, then request the session information based on the cookie and then get the challenge token and change the valid_id.
Just trying to get the best information possible to make things correctly, not expecting a RTFM.
Thanks jojo, may God bless you, you're doing a great job
Re: Change Priority from Invalid to Valid without using the web interface
You should not apply ACLs via webservices.
set P1 to valid
Ressctrict the P1 possibilities in the needed webinterfaces via ACL
remove the P1 resctriction for certain agents (via group or role memhership) via ACL
so the Generic Interface can be used to set the P1
set P1 to valid
Ressctrict the P1 possibilities in the needed webinterfaces via ACL
remove the P1 resctriction for certain agents (via group or role memhership) via ACL
so the Generic Interface can be used to set the P1
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com