<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=TicketsPerQueue</id>
	<title>TicketsPerQueue - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=TicketsPerQueue"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=TicketsPerQueue&amp;action=history"/>
	<updated>2026-08-23T09:57:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=TicketsPerQueue&amp;diff=3860&amp;oldid=prev</id>
		<title>Admin: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=TicketsPerQueue&amp;diff=3860&amp;oldid=prev"/>
		<updated>2016-04-06T20:39:28Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;It has come up before that you may wish to have the newest X unowned tickets per queue visible so that techs can have a listing of unowned tickets in the queues they have rights to see. I threw this together for 3.2.2 and it seems to do the trick.&lt;br /&gt;
&lt;br /&gt;
Feel free to modify this if there is glaring error I missed or if fixes are needed for 3.4.x.&lt;br /&gt;
&lt;br /&gt;
EDITED by &amp;lt;u&amp;gt;gentgeen @ linuxmail .org&amp;lt;/u&amp;gt;: I am using RT 3.4.1 from a Debian install package, and I had to save the following as /usr/local/share/request-tracker3.4/html/Elements/MyRequests I think other (non-packaged) RT users of version 3.4.1 will want to save it as rt_dir/local/html/Elements/MyRequests&lt;br /&gt;
&lt;br /&gt;
rt_dir/local/html/Elements/PerQueue&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;%PERL&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 while (my $queue = $Queues-&amp;amp;gt;Next) {&lt;br /&gt;
         my $Query = &amp;quot;Owner = &amp;#039;Nobody&amp;#039; AND ( Status = &amp;#039;new&amp;#039; OR Status = &amp;#039;open&amp;#039;) AND Queue = &amp;#039;&amp;quot;.$queue-&amp;amp;gt;Name.&amp;quot;&amp;#039;&amp;quot;;&lt;br /&gt;
         my $QueryString = &amp;#039;?&amp;#039; . $m-&amp;amp;gt;comp(&amp;#039;/Elements/QueryString&amp;#039;, Query =&amp;amp;gt; $Query, Order =&amp;amp;gt; &amp;#039;DESC&amp;#039;, OrderBy =&amp;amp;gt; &amp;#039;Priority&amp;#039;) if $Query;&lt;br /&gt;
 &amp;amp;lt;/%PERL&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;&amp;amp;amp;|/Elements/TitleBox,&lt;br /&gt;
         title =&amp;amp;gt; loc(&amp;quot;[_1] newest tickets in &amp;quot;.$queue-&amp;amp;gt;Name, $rows),&lt;br /&gt;
         title_href =&amp;amp;gt; &amp;quot;Search/Results.html&amp;quot;.$QueryString &amp;amp;amp;&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;&amp;amp;amp; /Elements/TicketList,&lt;br /&gt;
         Format =&amp;amp;gt; &amp;quot;&amp;#039;&amp;amp;lt;a href=\&amp;quot;$RT::WebPath/Ticket/Display.html?id=__id__\&amp;quot;&amp;amp;gt;__id__&amp;amp;lt;/a&amp;amp;gt;/TITLE:#&amp;#039;, Subject, Status, Requestors, CreatedRelative&amp;quot;,&lt;br /&gt;
         Query =&amp;amp;gt; $Query,&lt;br /&gt;
         OrderBy =&amp;amp;gt; &amp;#039;Queue&amp;#039;,&lt;br /&gt;
         Order =&amp;amp;gt; &amp;#039;DESC&amp;#039;,&lt;br /&gt;
         ShowNavigation =&amp;amp;gt; 0,&lt;br /&gt;
         Rows =&amp;amp;gt; $rows&lt;br /&gt;
 &lt;br /&gt;
         &amp;amp;amp;&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/&amp;amp;amp;&amp;amp;gt;&lt;br /&gt;
 % }&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;%INIT&amp;amp;gt;&lt;br /&gt;
 my $rows = $RT::MyRequestsLength;&lt;br /&gt;
 my $Queues = RT::Queues-&amp;amp;gt;new($session{&amp;#039;CurrentUser&amp;#039;});&lt;br /&gt;
 $Queues-&amp;amp;gt;UnLimit();&lt;br /&gt;
 &amp;amp;lt;/%INIT&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>