I am trying to automatically change the type of link ('Blocks' -> 'Relates') between two tickets when one of them is set to Done. This is so that I can tell when blockers from other projects are no longer an issue.
The logic below gets us very close, but there is a problem on the final step. There is no option to change the specific link between the two tickets. So I am creating a 'Relates' link between the two first, before trying to remove the original link.
Unfortunately, it removes ALL links of the 'Blocks' type, not just the one between these two tickets. Other Blockers are also removed which wont do.
Any way I can change the link type directly at the trigger issue? or avoid bulk changes by link type?
Can I clarify the need here:
If this is the case, this is how I got it working in our instance:
You can modify this rule to include your additional link types.
The rule first seeks out the issue the trigger issue links outwards to, and adds the new link type. It then looks for the old link type on the trigger issue and removes it.
It's important to have the first branch above the second - if these were the opposite way around, the relationship between the two issues would be removed and not possible to use to add the "new" relationship.
Let us know if this suits your use case - or please clarify the need above :)
Ste
Thank you Stephen, you were spot on with the clarification and solution! It works a charm :)
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.