Need help with Jira error: "The operator '~' is not supported by the 'fixVersion' field"

We use Jira v4.4.3. I need to run a report that lists all of my developers' tickets that are close/resolved for each month's releases. Our releases (fixVersion) seem to be configured as a string value in the database, because they're formatted like this: "1.34.0 (7/Jun/2012)". My challenge is that I have many projects (11) and many releases (up to 21 in all) within each month, so it takes me forever to type them all into one query. I'm currently running 11 filters, one for each project, and then combining the results in Excel which is just as time consuming. It sure would save me time if I could format ONE query that looks like this:

project in (BILLGTWY, CG, CI, FIN, GC, JCA, LSI, MCUP, PEM, SG, TE) AND fixVersion ~ "Jun" AND status in (Resolved, Closed)

but that gives me this error:

The operator '~' is not supported by the 'fixVersion' field.

Help? Why does the ~ operator not work for this field?

2 answers

1 accepted

4 votes

Seems you are looking for a regex search in the fixVersion field. As you correctly mentioned, ~ operator is not supported.

have a look at JQL Tricks Plugin. It has a method to search fixVersion using regex.

2 votes
Dieter Community Champion Jul 13, 2012
Another alternative would be to create a scripted custom field using the free Script runner plugin. The Groovy code behind the field would have to extract the month part of issue.getFixVersions() and return this. Then you could search for the month value in this scripted custom field. Though this solution requires some programming ...

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,797 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