It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Ignacio Pulgar Community Leader Feb 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 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 Leader Feb 16, 2017

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

Tarun Sapra Community Leader 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 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,644 views 8 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you