How do I filter for parts of the FixVersion/s field?

Gero Kassen October 2, 2019

It is possible to search for parts of what is written in the summary field (with ~). I want to do the same thing for the FixVersion/s field. Is this possible?

In general my concern is, that I have Releases that have a specific nomenclature and I want to filter for the issues that are subordinated, based on parts of this nomenclature. Is there a possibility to do this without the use of Add-ons/labels etc.?

4 answers

1 accepted

3 votes
Answer accepted
Alexander Ling
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 2, 2019

According to https://confluence.atlassian.com/jiracorecloud/advanced-searching-fields-reference-765593716.html?_ga=2.228522654.2094838208.1569828953-503707675.1567420743#Advancedsearching-fieldsreference-FixVersionfixVersionFixversion 

The ~ character is not supported for queries with fixVersion.

But you can use fixVersion in situations like these:

fixVersion in ("3.14""4.2")

or

fixVersion = "hello"

Hope this answer your question!

Gero Kassen October 2, 2019

This answers my question, but does not provide a solution. Too bad, that the Fix Version field cannot be accessed by the ~ character. This means there is no "Out-of-the-box"-Solution for just filtering for segments of the Release name, too bad, as Releases do not have any other attributes that can be filtered for.

Like Christina Cuffari likes this
Mark Moore August 25, 2023

This doesn't work for me, as the "IN" syntax requires an exact match, if you try to use partial, it doesn't work, in fact, you get a error that the Value you entered does not exists in fixVersion.   The solution below, however, doesn't work .

16 votes
Tomasz Drabik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 17, 2022

I've just found out that this seems to work now: 

fixVersion ~ "*keyword*"
Jason Cox February 25, 2022

Works great!  I saw reports in other places that this solution doesn't work, but I just tested and it worked for me!  Thanks Tomasz! 

Like hazel.digama likes this
Konstantin Demidov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 26, 2022

Thank you Tomas!

Tomasz Drabik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 13, 2022

.

Wilbert Bus January 10, 2023

Great, that worked too for me!

Mark Moore August 25, 2023

Thanks, I knew there had to be a way to do this...

Monica LaRue
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 6, 2023

Why would this syntax work for some  and not others?   It does not work for me. 

Maryann Rieger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 14, 2023

Thank you!  was missing the wildcard * before and after the keyworkd - that resolved my problem

Like Darren Shotam likes this
Leandro Pachega
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 11, 2024

Tks @Tomasz Drabik !

0 votes
Jan Sękara February 17, 2022

Great Tomasz, thanks for that!

0 votes
fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 2, 2019

the ~ can only be used in JQL for the fields that are defined as free text searchers, fix version is a select list field.

with scriptrunner you have a function that fits your needs

fixVersion in versionMatch("^RC.*")

 https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_projectmatch_componentmatch_versionmatch 

I guess the free addon SQL to JQL would work for you too (haven't try it)

Gero Kassen October 2, 2019

Thank you for your answer. An addon sadly does not solve the problem, because it is not possible to intall them, even when they are free of charge, due to the Company's IT structure.

fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 2, 2019

Ok, maybe you could do some workaround like copying the version value to a text field and filtering for this new field.

Gero Kassen October 10, 2019

Yes, this was now the way to go. I wanted to avoid manual work, but unfortunately Atlassian does not provide an out-of-the-box solution (like in many other cases). Thanks for the support.

Suggest an answer

Log in or Sign up to answer