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 fromRT::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 typeRT::Client::REST::SearchResult, which you can then use to get to objects of typeRT::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::RESTRT::Client::REST::ObjectRT::Client::REST::SearchResultRT::Client::REST::Ticket
π AUTHOR π
Dean Hamstead <dean@fragfest.com.au> β shoutout, thank you for your service π«‘
π COPYRIGHT AND LICENSE π
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
- ubuntu stonking: librt-client-rest-perl 1:0.73-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms