Is the user id passed in a member of one of the DutyTeam groups
Useful for differentiating between actions by a user of the system vs actions by someone flagged to work on RTIR.
Returns a list of valid TicketTypes
Returns a list of the core RTIR Queue names
Returns type of a ticket. Takes either Ticket or Queue argument. Both arguments could be objects or IDs, however, name of a queue works too for Queue argument. If the queue argument is defined then the ticket is ignored even if it's defined too.
Return sorted list of unique statuses for one, many or all RTIR queues.
Takes arguments 'Queue', 'Active' and 'Inactive'. By default returns initial and active statuses. Queue can be an array reference to list several queues.
RT::IR->Statuses() RT::IR->Statuses( Queue => 'Blocks' ); RT::IR->Statuses( Queue => [ 'Blocks', 'Incident Reports' ] ); RT::IR->Statuses( Active => 0, Inactive => 1 );
Takes a ticket and returns collection of all incidents this ticket is member of.
Takes a ticket and returns collection of incidents this ticket is member of excluding abandoned incidents.
Returns number of active incidents linked to child ticket (IR, Investigation, Block or other). If second argument provided then it's excluded from count.
When function return zero that means that object has no active parent incidents.← Back to index