Forums

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

Help with aqlFunction

Karoline Rezende Ramos
Contributor
March 16, 2023 edited

Hello everyone!

I am having trouble setting up a JQL using the Aql function when the value has space in the words.

Here: We have the field "IS Ubicación" and the attributes "Site" and "Tipo de Ubicación.
When I try to search for the Site it works, but the query for "Tipo de Ubicación" shows an error.
Does anyone know how it would look like in this scenario?
I'm sharing some images to make it easier to understand.

Thank you very much for your help!Screenshot (3).png Screenshot (2).png

Screenshot (4).png Scheme Assets.png

1 answer

1 accepted

3 votes
Answer accepted
Kai Becker
Community Champion
March 17, 2023

Hi @Karoline Rezende Ramos

you need to quote the string inside the aql function and escape the quotes.
Please try something like this:

"IS Ubicación" IN aqlFunction("\"Tipo de Ubicación\" = \"Service Center\"")
Karoline Rezende Ramos
Contributor
March 20, 2023

Hi @Kai Becker 

It worked, thank you very much for your help! 😃

Like Kai Becker likes this
Kai Becker
Community Champion
March 20, 2023

You're welcome @Karoline Rezende Ramos :)

Like Karoline Rezende Ramos likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events