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: 

making a JQL including AQL

NEGAR JALALIAN
Contributor
June 5, 2024

Hi 

I'm new to JSM and I need to make JQL filters that includes some asset fields ...

I have already created a simple one : 

project = "FirstLine Customer Service" AND Problem IN aqlFunction("key=CS-99")

but now I want to include more key in the search .. the simplest way was : 

project = "FirstLine Customer Service" AND Problem IN aqlFunction("key=CS-75") OR Problem IN aqlFunction("key=CS-82")

 

can anyone suggest better and shorter filter ?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Hannes Obweger - JXL for Jira
Atlassian Partner
June 6, 2024

Hi @NEGAR JALALIAN

I'm not an expert myself but I think you should be able to do 

project = "FirstLine Customer Service" AND Problem IN aqlFunction("key in (CS-99, CS-82)")

Is that better?

Best,

Hannes

NEGAR JALALIAN
Contributor
June 6, 2024

thank you Hannes ! 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events