Get the issue key from project INF or PSE blocking the other issue from project CS

Harun Ahmetbeyoglu October 25, 2023

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
2.JPG4.JPG5.JPG6.JPG

 

1 answer

0 votes
Kevin Lew [ServiceRocket]
Atlassian Partner
November 9, 2023

Hi @Harun Ahmetbeyoglu

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:

Xnip2023-11-10_10-39-29.png

 

Please let me know if this helps, and if this resolves your issue, please mark this as the answer. 

 

Cheers!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events