JQL: Order by workflow transition time/date

I am almost positive this is not possible, but thought I would ask.

We want to order by when something went into the 'Ready for Build' status specifically. All I could come up with was:

assignee was currentUser() and status changed to "Ready for Build" order by updatedDate

This obviously is not that helpful since it orders by updatedDate, not when it went to ready for build.


2 answers

Perhaps add a date time field named "Build Date", then use Update Issue Custom Field post function in "Ready for Build" transition to update the field with current date time. Then you can sort the date using the date field.

I guess thsi can be another workaround for you. :)

I used a solution similar to @Yew Teck En's suggestion and that works well.  The drawback is that I'm looking for the first time this transition happened, and it gets re-written if the transition re-occurs, but it does 95% of what I need.

Without changing workflows, you can sometimes accomplish what you want with a WAS clause and DURING predicate using a relative time specification, if you're satisfied with a window of time where the transition occurred and don't need the ordering.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,301 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot