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

Marty Johnson February 16, 2017

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

1 vote
Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 16, 2017

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.

0 votes
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 16, 2017

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

Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 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