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

0 votes
Yew Teck En Atlassian Team Dec 18, 2013

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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,780 views 2 7
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