The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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 Champions.
August 14, 2020

These are the only supported operators for affected versions field:

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

0 votes
Ste Wright
Community Champion
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 P Claspill
Community Champion
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.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question