Does someone know JQL that will display the date a story went to "InProgress"?

Does someone know JQL that will display the date a story went to "InProgress"?  I can't find a field with that data but JIRA must have one because the Control Report shows how many days an item was "In Progress".  We are using a Kanban board. 

2 answers

This widget could not be displayed.

JQL is useful for retrieving issues that match certain conditions.

JQL cannot get anything else than issues, and all you will be able to display is their fields.

The date a story went into a status is displayed in the issue detail view, into the History tab.

While the issue's history of changes cannot be displayed in a column, you can retrieve issues that have ever changed to the "In Progress" status in a time frame, as the Status field supports the operators:

In example, you can get the list of issues that have been transitioned to In Progress since the beginning of the current week until yesterday:

status changed TO "In Progress" BEFORE startOfDay() AFTER startOfWeek()

Hope it helps.

This widget could not be displayed.
Tarun Sapra Community Champion Feb 16, 2017

Hello Marty,

JQL is meant for searching across issues based on criteria which is simply value of issue fields like project, type, resolution etc So what you want isn't possible as the transition date is part of the history of the issue which isn't displayed on issue fields on the view issue scree,

The easy way to actually do this is to add a "Scripted field"(Script runner plugin) on the view issue screen of the issue and this field should calculate and display the date the issue transitioned to "In progress" status. 

Now, every search result using JQL gives the option of customizing the columns of the issues in search result, thus now you can add this new "scripted field" as a column in the search result. Hence, you will be able to easily see the date the issue moved into "InProgress"

Tarun Sapra Community Champion Feb 16, 2017

There is an open improvement as well for your request - https://jira.atlassian.com/browse/JRA-29839 

Tarun Sapra Community Champion Feb 16, 2017

And here's a code sample as well for your usecase - https://answers.atlassian.com/questions/250963 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday 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...

223 views 1 3
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