<?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=EscalateTicketOnAction</id>
	<title>EscalateTicketOnAction - 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=EscalateTicketOnAction"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=EscalateTicketOnAction&amp;action=history"/>
	<updated>2026-08-22T05:25:59Z</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=EscalateTicketOnAction&amp;diff=1104&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=EscalateTicketOnAction&amp;diff=1104&amp;oldid=prev"/>
		<updated>2016-04-06T20:08:54Z</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;Rather than using [http://www.cs.kent.ac.uk/people/staff/tdb/rt3/rt-escalate rt-escalate] for escalation, we just operate on the assumption that a ticket that gets worked upon is more important than a ticket that doesn&amp;#039;t. Thus the tickets that are currently getting the most effort will float to the top. In our organization, we use this Scrip action to bump the priority of a ticket every time a comment or reply is made on that ticket.&lt;br /&gt;
&lt;br /&gt;
== Escalation Scrip ==&lt;br /&gt;
&lt;br /&gt;
To set it up,&lt;br /&gt;
&lt;br /&gt;
 1. Create a new Scrip.&lt;br /&gt;
 2. Set the condition, we created two different Scrips, one with &amp;quot;On Correspond&amp;quot; and one with &amp;quot;On Comment&amp;quot;&lt;br /&gt;
 3. Set Action to &amp;quot;User Defined&amp;quot;&lt;br /&gt;
 4. Set Template to &amp;quot;Global: Blank Template&amp;quot;&lt;br /&gt;
 5. Leave Stage at &amp;quot;TransactionCreate&amp;quot;&lt;br /&gt;
 6. In &amp;quot;Custom condition&amp;quot; just put &amp;quot;return 1;&amp;quot;, though this should be ignored.&lt;br /&gt;
 7. In &amp;quot;Custom action prepration code&amp;quot; also put &amp;quot;return 1;&amp;quot;&lt;br /&gt;
 8. In &amp;quot;Custom action cleanup code&amp;quot; put:&lt;br /&gt;
 &lt;br /&gt;
 $self-&amp;amp;gt;TicketObj-&amp;amp;gt;SetPriority($self-&amp;amp;gt;TicketObj-&amp;amp;gt;Priority + 1)&lt;br /&gt;
     if $self-&amp;amp;gt;TicketObj-&amp;amp;gt;Priority &amp;amp;lt; $self-&amp;amp;gt;TicketObj-&amp;amp;gt;FinalPriority;&lt;br /&gt;
 return 1;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it. Now, whenever a comment or reply is made on a ticket and the Priority is less than the Final Priority, the Priority will be bumped by one point. We then have a set of priority ranges to indicate when a ticket is low (e.g. 40 - 49), medium (e.g. 50 - 69), or high (70 - 79) priority. Within these ranges the tickets will be bumped up to the maximum set within the range (usually *5) and then the owner can use the remaining upper range for an additional bump.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>