The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automation - Check if newly created ticket matches with already existing ones

Rodrigo Sala
May 30, 2024

Hi team, 

I want to know if it is possible to set up an automation aiming to check if the summary of a new ticket created matches with any summary of already existing tickets. 

Don't know if there is any smart value I could use for this. 

Thanks in advance for your help.

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Duc Thang TRAN
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 Champions.
May 30, 2024

Hello @Rodrigo Sala 

I found your request interesting. Here is an automation I imagined for a case similar to yours:

Here is a automation that may can help you request 

I'm not able to add image so is a description 

Trigger : When issue created

Lookup issues with jql  (summary exact match)  : project = xxx and summary ~"\"{{issue.summary}}\""

If {{lookupIssues.key.size}} = 1 

action : Hey is a ticket with this new summary : {{issue.summary}}

if {{lookupIssues.key.size >1 and {{lookupIssues.key.size < 100

action : Hey, currently we have {{lookupIssues.key.size}} tickets tickets with this exact summary : {{issue.summary}}

if {{lookupIssues.key.size}} = 100

action : Hey , currently we have more than {{lookupIssues.key.size}} ticket tickets with this exact summary : {{issue.summary}}

 

Hope that can help you

Duc Thang TRAN
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 Champions.
May 30, 2024

testcompare02.pngtestcompare.png

Duc Thang TRAN
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 Champions.
May 30, 2024

demoauto01.pngdemoauto02.png

Rodrigo Sala
May 31, 2024

hey @Duc Thang TRAN, your proposal works. Thanks!

QQ, do you know what can I use in project = xxx and summary ~"\"{{issue.summary}}\"" to make it a exact match? "~" is showing me similar but not exact variables and "=" is not supported by the summary fiel.

0 votes
Rodrigo Sala
May 30, 2024

hi @Manoj Kumar Gangwar, it is a service project. No Epic/Task/Sub-task structure available.

I am willing to check for any other tickets at same hierarchy level. 

0 votes
Manoj Kumar Gangwar
Community Champion
May 30, 2024

Hi @Rodrigo Sala ,

Do you want to check this for a parent's sub-task issues? If yes then you can achieve this easily via automation.

test.PNG 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events