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

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 ! 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events