Automation - How to find duplicate linked issues and update status?

Gil Levy November 11, 2024

My first rule runs every time a new issues is created. The first rule searches for the same title and if TRUE, it links them with link type "duplicates".

 

I end up with 5 duplicate issues. 4 out of the 5 issues are in the same status , let's say, "In Progress".

The 5th issue is in "To Do".

I need a 2nd automation rule that will find this 5th issue, search if it has linked issues and then match the status of the issue to In Progress. At the end I'll have all duplicate issues in the same status.

Is it possible?

 

2 answers

3 votes
mararn1618 _secretbakery_io_
Atlassian Partner
November 11, 2024

Hey @Gil,

I think the second part of my blog post (see below **) should fix your problem? In case it does, I'd be happy if you mark this as the accepted answer. :)

 

Kind Regards,
Markus // Author of Duplicate AI

 

** Blogpost: Jira Using Automation Rules to manage Duplicate Tickets 

 

Gil Levy November 13, 2024

Hi,

Thanks. I read that but it's not quite what I need.

I need to match the status of two issues.

If the duplicates issue is in To Do and the duplicated by issue is In Progress, then I want the duplicates issue to match the status of the "duplicated by". That doesn't seem to work.

 

1 vote
Bill Sheboy
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.
November 11, 2024

Hi @Gil Levy 

For a question like this, it helps to post images of your complete rule, any relevant actions, and the audit log details showing the rule execution.  Those provide context for the community to offer better suggestions.

Without seeing your rule...

What you describe is likely possible, and the issue could be found using JQL to check the Summary for duplication and the Status.  Seeing the specifics of your two rules will help confirm this.

Kind regards,
Bill

Gil Levy November 13, 2024

I don't have the rule setup anymore. I deleted it because it didn't work.

I wasn't able to extract the status of the linked issue and progress the duplicate issue to the same status.

If the duplicates issue is in To Do and the duplicated by issue is In Progress, then I want the duplicates issue to match the status of the "duplicated by". That doesn't seem to work.

 

Bill Sheboy
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.
November 13, 2024

The status of the linked issues may be found using JQL to gather the issues (and then use conditions) or with smart value, list filtering on the {{issue.issuelinks}} smart value.

If you decide to recreate your rule, please try those and then post the rule and audit log so the community can offer suggestions.

Thanks!

Like Gil Levy likes this

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