I created an automation rule. It is triggered and created two new issues in 2 projects. I preserved the issue keys but not sure how to link them in automation steps.
I linked both of them with the triggered issue, but unable to make them relates to each other.
I believe I can use the some JQL to do it, but unable to apply in automation of Jira..
Attaching the automation rule here.
Thanks
What is the scope of your rule in the "Rule details" at the top: single-project, multiple-project, or global?
A single-project scope rule can create (or clone) issues into other projects, but it cannot access or modify them. Thus if the rule is single-project the Link Issue action would not work as that needs to modify both issues: the trigger issue and the new one in the other project.
To change the rule scope, your Jira Site Admin will need to help as that setting is available from the global automation functions.
Kind regards,
Bill
Hi Bill,
First thanks to look into it.
It is multiple projects. Here is the details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, you are trying to relate the newly created issues to each other also.
To do that, you could use the plural {{createdIssues}} smart value: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--createdIssues--
Let's assume you are adding two issues, and want to link the second one to the first one. The relevant parts of the rule would be:
This uses the list function get() which is 0-based for the first item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
Thanks for your suggestion. It make sense. It does work.
Thanks again.
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.