JQL for more than one fixversion

Does anyone know how to locate any issue that has more than one fixversion assigned?

4 answers

1 votes
Henning Tietgens Community Champion Aug 08, 2013

You could use the Script Runner plugin and create a scripted field like this

return ((issue?.fixVersions?.size())?:0) as Double

Use a number searcher and the number template for this scripted field. And than use this field within your JQL to find issue where your scripted field > 1. I think you have to reindex at least the issues you are querying before this, you could use a builtin script from Script Runner to reindex all issues of a project or a filter result.


Hi Karie,

Try something like:

project = YOURPROJECTKEY AND fixVersion in ("6.0.5","6.0.1")

Best regards,
Lucas Timm

0 votes

If you are looking for issues that have both the fixVersions, try:

fixVersion = '1' AND fixVersion = '3'

Replacing, 1 and 3 with the actual fix versions, of course. :P

To clarify, I want to find issues that have more than one fixversion, regardless of the fixversion. We're trying locate these because we need to remove the additional fixversions so that we can start to enforce having only one fixversion.

I actually was going to export all my issues (which are ~ 10,000) and sort fixversion in Excel to find them or do a column to text with a comma separate to find them, but the excel export only supports 1000. Thus, my need for trying to use JQL to narrow it down.

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,760 views 11 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