Hi,
I am recently new in Jira Cloud and I would like to create an automation rule which will pick up the issue(linked issue) key from Project INF or PSE, blocking another issue from project CS, and write it into custom text field(Issue Blocked By) created.
Steps I followed:
-Created a custom short text field and linked this field to Project CS screen.
-I created a simple automation rule as seen in the attachments.
-The rule scope is for multiple projects(CS,INF,PSE)
it completes the automation rule successfully, but, on the screen, the custom field(Issue Blocked By) comes with "None"
Please let me know in where I am doing wrong?
Thanks and Regards
The automation that you currently have will need to have some improvement.
Firstly, It doesn't tell the automation which Jira issue to update. It should be the CS project issue for your case, but looking at the screenshot, it seems like the edited issue is PSE-473, the issue that trigger this automation.
To overcome this, you can use the "Branch rule / related issues" for 'Destination issue' right after your IF/ELSE statement. This should tell the automation which issue you want to perform the action.
Here is the documentation for your reference.
Second, the smart value that you should use to edit the issue field is '{{issue.issuelinks.inwardIssue.key}}'. In your case, it should be inward.
Here is the community post for you to understand the differences between inward and outward.
Here is a quick snapshot of how the automation looks like to achieve your use case:
Please let me know if this helps, and if this resolves your issue, please mark this as the answer.
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.