Finding queue priority in script?

Alex Hall <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <CA+Q8_JeN4uEUifpc7BFBD6jGGrgQyascqdd9YAME1xtUaErv3g@mail.gmail.com>
Hi all,
It hit me the other day that instead of trying to move the priority field
out of the details view, I could simply make a custom field for priority,
then set it in a script on ticket creation.

I see in the docs how to set a ticket's priority, but is there a way to get
a queue's priority values (initial and maximum)? All our queues will likely
share priority settings, so I'm not too worried about this, but I would
prefer to base things off a given queue's settings if possible. The docs
for Queue objects mention nothing about priority, which seems like an odd
ommition. Thanks for any suggestions.

-- 
Alex Hall
Automatic Distributors, IT department
[email protected]

---------
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Los Angeles - Q1 2017
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.