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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

798 views 2 19
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