I'm struggling how to use the link issues action in automation for Jira. I've setup a rule that when a specific issue type is created, it creates another of a different type. I want these two to be linked but can't get my head around how to do that...
So your rule for this would have to look like this:
So I think the trick here is the related issues condition to branch off for the newly created issue and then link that back to the issue that originally triggered the rule. The issue on the main branch always refers to the trigger issue and not the created issue. We've already got https://codebarrel.atlassian.net/browse/AUT-277 as well to make this particular case a bit easier!
Hope this helps!
That looks about right. Is this a project specific rule though (you can see this in 'Rule details')? Is the 'CONFIG' project different to the project this rule is defined in?
If that's the case, then you need to make this a global rule that can perform actions across different projects.
You can do so by visiting global admin -> system -> automation rules then edit the rule details and change this to be a global rule.
You'll probably want to add a JQL condition immediately after the trigger to check the created issue is in the current project (so project = 'ABC').
Hope this helps.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG