I want to calculate the time spent between each transition in the workflow, such as time spent in analysis including the comings and goings Between the States (the amount of time spent in analysis). the problem is that the Listner available does not support ca. is that there is a method to do this. thank you in advance
I wrote some code very recently to do this. You should have little problem translating to java:
The listener has access to the issue, that's all you need to use the code above.
Yes it is...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Jamie
I tried this morning to execute your code, but i don't have the type Scripted Field in my version of JIRA (4.3.4)
Do you have an other mehtod please ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If this is meant for tracking average time spent in different statuses, there is a gadget already available in Jira 'Average Time in Status'
See https://studio.plugins.atlassian.com/wiki/display/JCHART/JIRA+Charting+Plugin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Renjith,
Thank you for your answer, I want to calculate the time spent in ench statut. For exemple : I want calculate the amount of time spent in analysis (if the issue is reopened the time spent + the time spent after reopened ...)
do you have a way to do that ( or just an idea)
Thank you in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.