Forums

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

Automation based of custom field including at @ symbol

Anna Daisy Batman
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!
July 20, 2023

I am trying to make a rule that when an issue is created, if the custom field "email address" of that issue matches that field of an issue of type story in a separate project, the issues are linked. The problem is that the custom field contents contain an @ symbol and I am not sure how to use an escape sequence given that I am using {{triggerIssue.fields.customfield_1010}} to access the field. Put simply, this custom field contains an @ symbol so the automation is giving me an error when I run it. Does anyone have any advice?

1 answer

0 votes
Marcus Jones
Community Champion
July 21, 2023

Hi Anna!

Welcome to the Atlassian Community!

JQL has a list of reserved characters:

space (" ") + . , ; ? | * / % ^ $ # @ [ ]

 

If you wish to use these characters in queries, you need to:

- surround them with quote-marks (you can use either single quote-marks (') or double quote-marks ("));

and, if you are searching a text field and the character is on the list of reserved characters for text searches,

- precede them with two backslashes.

 

For example:

version = "[example]"

You can't search for many special characters in text fields using this method. For advanced text searches, see Search syntax for text fields.

Here is a link to the article: What is advanced search in Jira Cloud? | Jira Service Management Cloud | Atlassian Support

Suggest an answer

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

Atlassian Community Events