RT::Cl...::Queue(3pm)

πŸ’– RT::Cl...::Queue πŸ’–

okay bestie, you've found the manpage for RT::Client::REST::Queue β€” it's the queue object representation from the RT::Client::REST family, and it's literally the cutest way to poke at queues in RT. it's in the Perl 5 user-contributed documentation section, and yeah the name got truncated to RT::Cl...::Queue because manpage headers are dramatic like that. πŸ™ˆ


✨ VERSION ✨

version 0.73 β€” that's the one, no cap.


🌸 SYNOPSIS 🌸

here's the vibe, copy it exactly:

my $rt = RT::Client::REST->new(server => $ENV{RTSERVER});

my $queue = RT::Client::REST::Queue->new(
  rt  => $rt,
  id  => 'General',
)->retrieve;

like… look at her. just vibing with her rt object and her queue id. iconic. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

RT::Client::REST::Queue is based on RT::Client::REST::Object. it's the whole representation that lets you retrieve, edit, comment on, and create a queue in RT. main character energy fr.

⚠️ note bestie: RT currently does not allow the REST client to search queues. so sad but so true. 😭

πŸŽ€ ATTRIBUTES πŸŽ€

all the lil properties she has. go off:

  • id β€” for retrieval, you can hand over either the numeric ID of the queue or its name (case-sensitive, watch out πŸ’…). after retrieval though, this attribute gets set to the numeric id. she switches up on you, that's just how it is.
  • name β€” this is the name of the queue. yeah. the name. πŸ’€
  • description β€” queue description.
  • correspond_address β€” correspond address.
  • comment_address β€” comment address.
  • initial_priority β€” initial priority.
  • final_priority β€” final priority.
  • default_due_in β€” default due in.
  • disabled β€” queue is disabled.
  • admin_cc_addresses β€” admin CC addresses (comma delimited).
  • cc_addresses β€” CC addresses (comma delimited).
  • sla_disabled β€” queue SLA is disabled.
  • cf β€” access custom fields. this one is inherited from RT::Client::REST::Object, where you can read more details. 🧚

trivial example, here it is verbatim:

my $queue = RT::Client::REST::Queue->new(
  rt => $rt,
  id => $queue_id
)->retrieve();
my @customfields = $queue->cf();
for my $f (@customfields) {
  my $v = $queue->cf($f);
  say "field: $f";
  say "value: $v";
}

πŸ”₯ DB METHODS πŸ”₯

for the full explanation of all of these, please see "DB METHODS" in RT::Client::REST::Object documentation. not gonna lie, she defers to her mom for the details.

  • retrieve β€” retrieve queue from database. get her out of there. πŸ’–
  • store β€” create or update the queue. ✨
  • search β€” currently RT does not allow REST clients to search queues. she said no. πŸ™…β€β™€οΈ

πŸ‘‘ QUEUE-SPECIFIC METHODS πŸ‘‘

the special ones. queue-only. iykyk.

  • tickets β€” get tickets that are in this queue. > note: this may be a lot of tickets, bestie, like a concerning amount 😭. also note: tickets with status "deleted" will not be shown. you get back an object of type RT::Client::REST::SearchResult, which you can then use to get to objects of type RT::Client::REST::Ticket. so it's the gateway, fr fr.

⭐ INTERNAL METHODS ⭐

don't touch these unless you know what you're doing, but here's the tea:

  • rt_type β€” returns 'queue'.

🌈 SEE ALSO 🌈

go read these too, bestie, they're all connected:

  • RT::Client::REST
  • RT::Client::REST::Object
  • RT::Client::REST::SearchResult
  • RT::Client::REST::Ticket

πŸ’œ AUTHOR πŸ’œ

Dean Hamstead <dean@fragfest.com.au> β€” shoutout, thank you for your service 🫑


this software is copyright (c) 2026, 2020 by Dmitri Tikhonov.

this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, open source queen. πŸ’…


and that's the whole page, babe. πŸŽ€ this was perl v5.40.1, dated 2026-04-21, and it lived at RT::Cl...::Queue(3pm) β€” truncated name and all. stay hydrated, go retrieve a queue, mwah πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from