Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Passing a lookupObject that contains a special character

Patrick Olson
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!
Sep 25, 2023

I am setting up some automation rules that involve searching the assets library.

I am searching an employee table to pull a department attribute from the table.

That AQL looks like this

objectType = "Internal" AND "Email Address" = {{reporter.emailaddress}}

 

Then I'm performing another Lookup objects and passing that value to get data from another table containing department information

objectType = "Department Owners" AND department = {{lookupObjects.Department}}

This works unles the department has an & or other special character.

Is there a way to escape have this value automatically escape special characters?

{{lookupObjects.Department}}

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
Sep 25, 2023

Hi @Patrick Olson -- Welcome to the Atlassian Community!

Some things to try are to first wrap that smart value in double-quotation marks before comparing to the Department field, and if more is needed try using one of the encoding functions that will escape that text: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events