I want to add a label to a JSD request when it is linked to an issue, but only if the Linked Issue Type is a bug.
Any suggestions for accomplishing this?
Hey Lachlan,
thanks for your message. John from Automation for Jira here.
This is possible but it takes a little bit of work. I'll show you how the rule might work below.
Three things to keep in mind.
1) The rule will change depending on whether you are linking from the bug to the JSD ticket or the JSD ticket to the bug.
2) Needs to be a global rule.
3) You will be using the linked issue trigger, which can get tricky. We recently published this blog which helps explain things:
https://blog.codebarrel.io/how-to-use-the-linked-issue-trigger-in-automation-for-jira-1616b68c2d6e
Now onto the rule. I have created it as an IF/ELSE rule so you can see both sides. In the 'Edit Issue' action, you simply choose the labels field and put in the label you want.
let me know if you have any troubles with it!
John
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.