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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.