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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,294 views 5 10
Read article

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