I wish to close issues when they are set as 'Duplicates' of another issue. The problem is that many times this is done by setting the other issue link as 'Duplicated by' and not by editing the specific issue itself.
I've created an automation triggered when an issue is edited and used a branch for finding all other issues which are marked as 'Duplicates' however for some reason it does not work.
It did work when I tried the reverse direction.
So is there a way to trigger the rule on the 'other issue' since in a way it was edited.
To summarize: What I want is that when I link two issues as 'Duplication' the one that is set to 'Duplicates' the other will be closed.
Hello @Hadas
Can you show us the details of the rule you created? It is difficult for us to suggest how to fix it or debug why it is not working without those details.
The rule you need can be found in the Automation Library. It is called Close Duplicate Issues.
Whether you select "duplicates" or select "is duplicated by" when you create the link, the issue in the linking that gets the "duplicates" setting is the one that gets closed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can't point to where it says that. I tested it in my own system and it worked.
These are the link types I have.
With the rule I previously posted I tried two scenarios:
1. In issue A add a link to issue B and choose "duplicates" (A duplicates B). Issue A is the one that was transitioned to done.
2. In issue C add a link to issue D and choose "is duplicated by" (C is duplicated by D). Issue D is the one that is transitioned to done.
Experimenting with the rule by changing the link type used, what I find is that the issue that has the Outward Description part of the link is the one against which the Action gets applied.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wow, Thanks. So I'll try to remember that the outward one is the one that is closed (or any other action set) although it does not say that anywhere in the rule.
So weird.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is sort of explained in the description of the Issue Linked trigger.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, i have a problem.
I want to close a newer issue (issue B) that is linked to an existing issue (issue A) with "duplicates" or "is duplicated by" (i don't get the difference).
What i do:
What i tried:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Sebastian Pechhold
This post already has an Accepted Answer. Please start a new Question for your request for assistance, as it appears you need some guidance on understanding the Duplicate link type as well as the automation around modifying linked issues.
<edit>
I see now that you did already create a new question, before I posted the above response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.