Forums

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

~ query in JQL

PG Herath
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!
May 25, 2018

I want to query all the labels which are like below set .how can i capture all the labels  in a JQL 

eg:

AAA_0.1_Test

AAA_0.2_Test

AAA_0.3_Test

AAA_0.4_Test

Current query : (labels in (test, Test)  ..<Want to add above JQL here)

2 answers

0 votes
PG Herath
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!
May 25, 2018

Thank you for the quick respond.

I want to search fields where vlaues can be "Test"  ,test , xxx_Test

both in simple and capital ,also test/Test can be anywhere in the field "label" eg" xLabel,label , ff_Lablel 

 

then how can i query to get all the values 

Nic Brough -Adaptavist-
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.
May 26, 2018

Have a look a the links Alana gave you, they cover that sort of thing

0 votes
Alana Fernando
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.
May 25, 2018

@PG Herath to the best of my knowledge the operator '~' is not supported by the 'labels' field in default JIRA.

you may want to try  issueFieldMatch (subquery, fieldname, regexp) function in  ScriptRunner for Jira 

Example: 

issueFunction in issueFieldMatch("project = TEST", "labels", "test*")

 

Reference:

How to search for labels with a wildcard?

hope this helps! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events