I am trying to count time period between two transition, how time it took for that phase??
Hello,
With following addon - https://marketplace.atlassian.com/apps/1218767/smart-ql?hosting=server&tab=overview
You can write following report:
select AUX.ASISSUEKEY(ch.ISSUE), ch.NEWSTRING, ch.CREATED, lead(ch.CREATED, 1) over (partition by ch.issue order by ch.id) until from changes ch
where fieldtype = 'jira'
and field = 'status'
and this will lead to
First column is your issue, second is a status, third is from when this status was active, the last colunm indicates the time when issue was transitioned to next status.
Having such query you can easily compute a time period - just update the query to be more sophisticated.
Hello,
After you counted the time period between two transitions, how do you want to show it? Do you need it for an external application or somewhere in Jira?
If you need it for an external application, then you can use Jira Rest Api. If you need it in Jira internally, then you can use Jira Java Api.
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.