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

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 Leaders.
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 Leaders.
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 Leaders.
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 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 Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 

Suggest an answer

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

Atlassian Community Events