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.

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 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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

78 views 0 5
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