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
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...

136 views 1 10
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