JQL query with attribute "fixedVersion" that starts with a specific value

Stéphane Dion
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!
January 10, 2019

Hi,

The "component" attribute in our Jira is not always set so we would like to use the fixedVersion attribute in Jira to determine the component.  If the fixedVersion attribute starts with the value "XX", I know that it's the component XYZ.

  How can we have a JQL that will be like : fixedVersion startsWith "XX"?

Thanks for your help 

1 answer

1 accepted

0 votes
Answer accepted
Payne
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.
January 10, 2019

Something like this may be what you seek:

fixVersion ~ "XX*"

~ indicates "contains", and * is the wildcard character.

Stéphane Dion
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!
January 10, 2019

No, it's not working on an attribute with a list of possible values.

I'm getting the following error: The value 'XX*' does not exist for the field 'fixVersion', even if it exists.

Just found out that we are on an old version 6.4.13!   :-(

Payne
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.
January 10, 2019

Ah, yes, this functionality was added in version 7.9.0. 

https://jira.atlassian.com/browse/JRASERVER-24152

Here's something else to try, found in https://community.atlassian.com/t5/Jira-questions/JQL-wildcard-search-of-version-list-like-fixVersion/qaq-p/420721

Type ff:XX* in the Quick Search box up top.

Suggest an answer

Log in or Sign up to answer