On 04/17/2013 07:02 AM, Miles Scruggs wrote:
Does anyone have any idea how to do this?
On Mon, Apr 15, 2013 at 3:00 PM, Miles Scruggs
<[email protected] <mailto:[email protected]>> wrote:
I would like to add a column of links. For instance the "10 highest
priority tickets I own" section I would like to add a "Resolve" link
that will resolve the ticket. Just like the "Take" link takes the
ticket from the "10 newest unowned tickets".
Ideally I would like to make one column with a couple links
separated by a / For instance two links tightly packed like:
"Respond / Resolve" Any help accomplishing either of these would
be awesome.
If you click on the "Edit" link in the upper-right corner of the
dashboard section that you'd like to add the link to, you'll be
presented with the query builder. Click the "Advanced" link on the top
right of that page (assuming RT4) and you should see the format box. In
that box, you'll see something like:
'<a href="/Ticket/Display.html?id=__id__">__id__</a>/TITLE:#',
'<a href="/Ticket/Display.html?id=__id__">__Subject__</a>/TITLE:Subject',
'__QueueName__',
'__ExtendedStatus__',
'__CreatedRelative__',
'<a
href="/Ticket/Display.html?Action=Take&id=__id__">Take</a>/TITLE: '
Add another link next to the "Take" link like below:
'<a href="/Ticket/Display.html?id=__id__">__id__</a>/TITLE:#',
'<a href="/Ticket/Display.html?id=__id__">__Subject__</a>/TITLE:Subject',
'__QueueName__',
'__ExtendedStatus__',
'__CreatedRelative__',
'<a href="/Ticket/Display.html?Action=Take&id=__id__">Take</a> / <a
href="/Ticket/Update.html?Action=Comment&DefaultStatus=resolved&id=__id__">Resolve</a>/TITLE: '
Notice that the ampersands are escaped.
Click Apply & you should be good to go. If you'd like to check quickly,
just click the "Show Results" link in the upper right.