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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,193
Community Members
 
Community Events
176
Community Groups

Find tickets with same summary from same reporter

Hello together,

I'm testing an automation to find out duplicated sytem messages send via mail. I tried these suggestion

https://community.atlassian.com/t5/Automation-questions/Look-for-same-Issue-Summary/qaq-p/1512490

The system does not recognize the ticket id so we can not add this to the mail subscrition.

The automation is running well, if there are no special characters in mail subject. If there is for example a colon, it fails

Following part of the jql fails: AND summary ~ "{{issue.summary}}"

I tested also manually with jql or advanced search funktion

summary ~ "WG*"     -> is running well

summary ~ "WG:*"    -> doesn't find anything

 

We need to compare strings like this

WG: [Failed] XYZ - My Veeam Report (Last 24 Hrs) - SRVNAME

2 answers

Hi @Bill Sheboy 

I got a solution from the support.

Using

summary ~ "\" {{ issue.summary }} \""

instead of

summary ~ "
issue.summary"

makes me able to use the example described here

https://community.atlassian.com/t5/Automation-questions/Look-for-same-Issue-Summary/qaq-p/1512490

best regard 

Volker

0 votes

Hi @Volker Kiehn 

JQL is not an SQL, and so you cannot search for those exact matches, particularly with non-alphanumeric characters, with out-of-the-box Jira features. 

Without knowing more about your use case and what the automation rule is intended to do, one suggestion would be using JQL to get close matches (e.g. with a scheduled trigger or branch on JQL), and then use advanced compare conditions in the rule for further testing.  The text functions using regular expressions should be able to detect the rest.

Kind regards,
Bill

Hi @Bill Sheboy 

I opened a support case for this issue. Unfortunately I don't have influence on the mail subscriptions send to our jira.

I have to compare via variable. so i have to compare the hole title.  I'm using this JQL

reporter in (issue.reporter) AND summary ~ "issue.summary" AND created != "issue.created.jqlDateTime" AND status not in (Closed , resolved)

As I described it's running well without special characters.

best regards

Volker

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events