<?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=DisplayCustomFieldsOnTicketUpdatePage</id>
	<title>DisplayCustomFieldsOnTicketUpdatePage - 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=DisplayCustomFieldsOnTicketUpdatePage"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=DisplayCustomFieldsOnTicketUpdatePage&amp;action=history"/>
	<updated>2026-08-21T18:06:55Z</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=DisplayCustomFieldsOnTicketUpdatePage&amp;diff=999&amp;oldid=prev</id>
		<title>Admin: 3 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=DisplayCustomFieldsOnTicketUpdatePage&amp;diff=999&amp;oldid=prev"/>
		<updated>2016-04-06T20:08:50Z</updated>

		<summary type="html">&lt;p&gt;3 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:08, 6 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-998:rev-999 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=DisplayCustomFieldsOnTicketUpdatePage&amp;diff=998&amp;oldid=prev</id>
		<title>90.19.13.185 at 21:55, 14 April 2012</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=DisplayCustomFieldsOnTicketUpdatePage&amp;diff=998&amp;oldid=prev"/>
		<updated>2012-04-14T21:55:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
As part of implementing a work flow where custom fields must be set before the ticket is closed, I wanted to make the custom fields visible on the status-update page when resolving a ticket so an admin could see they are unset and set them before trying to do a resolve (or during previous updates).&lt;br /&gt;
&lt;br /&gt;
==Instructions for 4.0.5==&lt;br /&gt;
&lt;br /&gt;
Instead of copying a File to the &amp;quot;local&amp;quot; setup (and dealing with upgrade problems), here is an elegant solution using Callbacks&lt;br /&gt;
&lt;br /&gt;
Create a file called $RT_HOME/local/html/Callbacks/MyCallbacks/Ticket/Update.html/AfterWorked with the following content&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;%INIT&amp;gt;&lt;br /&gt;
$m-&amp;gt;comp(&amp;quot;/Ticket/Elements/EditCustomFields&amp;quot;, TicketObj =&amp;gt; $ARGS{&amp;#039;Ticket&amp;#039;}, AsTable =&amp;gt; 1);&lt;br /&gt;
return 1;&lt;br /&gt;
&amp;lt;/%INIT&amp;gt;&lt;br /&gt;
&amp;lt;%ARGS&amp;gt;&lt;br /&gt;
&amp;lt;/%ARGS&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Empty the Mason cache and reload Apache&lt;br /&gt;
&lt;br /&gt;
==Instructions for RT 3.8.6.==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
o cd /opt/rt3 # or your root&lt;br /&gt;
&lt;br /&gt;
o cp share/html/Ticket/Update.html local/html/Ticket/Update.html&lt;br /&gt;
&lt;br /&gt;
o Decide where in the layout you want the custom fields to appear. Add this line at the appropriate place in local/html/Ticket/Update.html.&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;&amp;amp;amp; /Ticket/Elements/EditCustomFields, TicketObj =&amp;amp;gt; $TicketObj &amp;amp;amp;&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
o To display the custom fields without making them interactive, use this line:&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;&amp;amp;amp; /Ticket/Elements/ShowCustomFields, Ticket =&amp;amp;gt; $TicketObj &amp;amp;amp;&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
I made this insertion at line 121, which puts the custom fields just above the text-entry box. If the [[GnuPG]] widget is enabled, that will likely appear just after the custom fields.&lt;/div&gt;</summary>
		<author><name>90.19.13.185</name></author>
	</entry>
</feed>