How to write JQL to show an issue that transitions into a status more than once

We have a status on our Jira issues called "Rework" that we use for issues that need to be addressed within a sprint.  We do not write Bugs when a story fails if it was entered into the sprint, we simply put it into rework.  If that work espcapes the sprint we write a bug.

I am trying to create a report that shows how many times it takes to complete work.

I can already write a report that shows me all the issues that transition to Rework

project = XSD AND status changed to Rework 

This pulls a report that shows all the issues that

What i dont know how to do is to write it to show the issues that went to Rework more than 1 time...

Help :)

1 answer

0 votes

Hi Jeff,

I have not seen a native JQL query that would perform this task since JQL doesn't have the ability to "count" in that manner.  You can use the Database schema documentation and structure a SQL query that gets this information, e.g. structure a query that joins the changeitem table and the jiraissue table to get the changes.  Take a look at the Change History section.

Hopefully that provides some ideas and a path forward!

Cheers,

Branden

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,981 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot