Re: Finding queue priority in script?
Martin Wheldon <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.request-tracker.user |
|---|---|
| Organization | Greenhills IT Ltd. |
| Message-ID | <[email protected]> |
Hi Alex, The file below contains a example of how to set the default values for a queue. share/html/Admin/Queues/DefaultValues.html Looks like the SetDefaultValue method for Queues isn't documented or a least I haven't found where, which seems odd as I've always found RT to be very well documented. Best Regards Martin On 2016-11-01 21:50, Alex Hall wrote: > 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 --------- RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Los Angeles - Q1 2017