Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Set only duplicate issue to 'done'

Sophia Smith May 9, 2024

Hello Team,

I am trying to set only duplicated issue to Done. My Automation logic sets all issue with same Summary to Done. I need to keep original Issue as it is.

This is Automation Rule:

Automation.png

Can you please assist here?

Thanks!

2 answers

0 votes
Jack Brickey
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 9, 2024

Hi @Sophia Smith ,

a couple of editorial comments first if I may...

  • At the risk of stating the obvious, unless the issues are created by a system the likelihood of exact match on summary is remote.
  • While I am not familiar with your environment, I believe having automation alone marking duplicates is error prone.

now to respond to your request...


You need to somehow identify "the original" such that you could check for the absence of this condition in your current condition that checks the summary. 

For example, if the original had a label, e.g. "original" then you could check for the absence of the label. Fundamentally the issue is in identifying  the original.

Possibly you could approach differently, triggering on issue created vs. Scheduled. Create a rule that triggers on issue created that checks to see if any issue (lookupIssues with JQL) currently exists that has the exact summary as the trigger. If so then link to the existing issue and transition trigger issue to Done with resolution of Duplicate.

0 votes
Sophia Smith May 9, 2024

This was also a try, but it also set all issues to 'Done'
A1.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events