Need help please.
I am using the following in my Automation Rule to find newly created duplicate tickets and close them.
Summary ~ {{issue.summary.asJsonString}} and Type = "Security Incident"
This work well with Summary values without any special characters. However, for example, if the Summary is: "Microsoft Defender error - check guideline: Do you have access?", I get the following error:
Unable to parse the text 'Microsoft Defender error - check guideline: Do yo have access?' for field 'Summary'.
Thanks!
Doods
Hi @Doods Perea hope you're doing well!
Try out this JQL:
summary ~ "\"{{issue.summary}}\""
If you have any additional questions or encounter any difficulties, let me know, and I'll do my best to help you.
Hello @Doods Perea
Since your request contains multiple words, you need to add quotation marks ('')
Summary ~ "{{issue.summary.asJsonString}}" and Type = "Security Incident"
Or you can using the jql exact as @Sergei Troshin suggested
Best,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Duc Thang TRAN
Have you tested this:
Summary ~ "{{issue.summary.asJsonString}}"
expression?
I've tested and it seems that it is not working properly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Sergei Troshin
No, I haven't, and I don’t usually use asJsonString
.
However, after testing, I noticed this smart value automatically adds quotation marks (""
) in the JQL. So, for my suggestion, it ends up adding an extra set of quotation mark and not worked as expected.
After testing, your suggestion it the best solution (searche text normal don't work this case)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.