Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL affectedVersion ~

Herbert Kevin August 14, 2020

Hello,


I'd like to do a JQL of the style:
issuetype = "BUG" AND affectedVersion ~ "B*"

But this is not possible with "affectedVersion".

Can you please help me?

Best Regards.
Herbert

3 answers

1 vote
Jira Guru
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.
August 14, 2020

These are the only supported operators for affected versions field:

= , != , > , >= , < , <=
IS, IS NOT, IN, NOT IN

0 votes
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 15, 2020

Hi @Herbert Kevin 

This is available in Server/DC - see this page for confirmation.

So a search such as all Versions which begin with "Ver" would be:

affectedVersion ~ "Ver*"

-------------------

This isn't available in Cloud - in this instance, you'll need a JQL extension app, such as ScriptRunner.

For example, using ScriptRunner you could search for all Versions beginning with "Ver" using:

affectedVersion in versionMatch("^Ver.*")

 Ste

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2020

I found issues in Atlassian's issue tracking referencing this feature, but it is marked as "Won't Do".

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

https://jira.atlassian.com/browse/JRACLOUD-30099

In 2017 a comment was posted on the JIRA Server issue suggesting the use of this app for JIRA Server to get this functionality.

JQL Booster Pack 

The app isn't compatible with JIRA Cloud.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events