<p dir="ltr">You could write your own script. It's not that bad. </p>
<p dir="ltr">Or perhaps try a dashboard, though those would email about the contents.</p>
<div class="gmail_quote">On Sep 23, 2015 11:58 PM, "Yourevilness" <<a href="mailto:slicer@onthenet.com.au">slicer@onthenet.com.au</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,  RT 4.2.11 on Centos 6<br>
<br>
I'm trying to generate a list of all unresolved tickets via command line and<br>
output the contents of a custom field value to a log file.  I have another<br>
system checking this log file to verify the contents.<br>
<br>
Without going too far into the requirements.  Is there any way to do this?<br>
<br>
I've tried RT-Crontool (Via Mysql), RT CLI queries etc. I can find the<br>
tickets ID but cannot extract the correct information I am after.<br>
<br>
<br>
CLI - /opt/rt4/bin/rt list -i "status != 'resolved' AND (Queue =<br>
'Operations')"<br>
#This gives me a list of the tickets.<br>
/opt/rt4/bin/rt show -t ticket 265550 -f 'CF.{A Number}'<br>
#This gives me the contents of the custom field called "A number"<br>
<br>
I cannot seem to combine them into one command.<br>
<br>
Likewise with rt-crontool... I can gather the necessary ticket ID's but<br>
cannot get any further information.<br>
<br>
I am aware of the REST interface and its ability to do what I am after, but<br>
I've not had much luck with it creating issues with the Mysql process.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://requesttracker.8502.n7.nabble.com/Output-contents-of-Custom-field-via-command-line-tp60701.html" rel="noreferrer" target="_blank">http://requesttracker.8502.n7.nabble.com/Output-contents-of-Custom-field-via-command-line-tp60701.html</a><br>
Sent from the Request Tracker - User mailing list archive at Nabble.com.<br>
</blockquote></div>