Hello - same as https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Link-issues-based-on-field-contents-Automation-for-Jira/qaq-p/1471702, I'm trying to set up an automation that links 2 issues based on a custom field (the user ID), this is to identify duplicates.
I used the same Automation as used on the question linked above but I get errors I'm not sure how to fix! Some screenshots:
Any help would be appreciated :)
Hi @Marije Pierson and welcome to the community!
You need to change the link issue action to link to the trigger issue. Linking to the "most recently created issue" is intended for when you've created an issue earlier in your automation rule.
Additionally, you may want to add a clause to your branch query like this to prevent an error of the created issue attempting to link to itself:
project = "Support Triage" AND Updated >= startOfDay() AND key != {{issue}}
Apologies for not replying sooner Mark! A day off got in the way :)
Thank you so much for your help, it worked.
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.