It sounds like what you want is to make a variation of the Ticket display page with a clickable image which kicks off an ajax event. The first time the button changes to “Go!” and logs a time event, the second time it changes to “Done!”, logs a second time event, figures out the difference between the times, and uses REST, or some other interface, to update the ticket.
If I didn’t already have a job…
Director of Application Development
845 Third Ave
New York, NY 10022
Tel: (212) 994-6194
Fax: (212) 994-4260
Mobile: (917) 488-6248
SeniorBridge Statement of Confidentiality: The contents of this email message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. Any dissemination, distribution or copying of this email by an unintended or mistaken recipient is strictly prohibited. In said event, kindly reply to the sender and destroy all entries of this message and any attachments from your system. Thank you.From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Tom Robinson
Sent: Monday, November 29, 2010 4:52 PM
Subject: Re: [rt-users] RT Task Timer
Actually, looking at the code and the steps involved, it’s a fairly straight forward modification.
I’ve implemented the changes but it’s not really what I was expecting/wanting. (It has given me a bit of an insight into the internal workings of RT, though). The code seems to only give me a reporting feature.
What I’m actually looking for is a ‘clickable’ button that will start/stop a timer. The timer will automatically log time against a ticket I’m working on.
A few years ago, I used a bespoke implementation (java server pages) of a task oriented project management system that had exactly this feature. It worked a treat and saved a lot of time manually tracking the time worked on a task and then filling in the box with the time.
Has anyone tried implementing such a feature and failed? I’d be interested in making an attempt at this but I have very little understanding of RT and my perl skills are quite limited.