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

1 vote

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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

412 views 3 11
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