Access linked issue destination in automation trigger

Maksim Beliaev July 10, 2023

From the Issue linked trigger description

 

Rule executes when an issue is linked to another issue. {{issue}} will always refer to the source issue, so if ISSUE-A is blocked by ISSUE-B, this rule will execute on ISSUE-B. To access ISSUE-A, use {{destinationIssue}}, and to access the link type, use {{linkType}} (e.g. {{linkType}}

 

I would like to transition the issue ISSUE-A to the Blocked status when it gets linked via "blocked by". However, if the issue ISSUE-B is in another project, then I do not receive a trigger.

What can I do to transit my issue when it gets linked?

1 answer

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 10, 2023

Is your automation set up as a single project automation or is it a global one? Your automation can only trigger on multiple projects if you have set it up as a global project.

Maksim Beliaev July 11, 2023

I do not want to trigger it on multiple projects. I want to trigger it on a single project to which I have access to.

 

However, Issue linked triggers an automation on another project (basically, it skips on mine). And I need a trigger to fire when someone adds a "blocked by" link in my project and the issue from my project is blocked by a project on which I do not have admin access

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 11, 2023

You have to trigger on multiple projects if you are linking across multiple projects, there is no way around it.

Maksim Beliaev July 11, 2023

but if I do not need any action on another project?

 

again, ultimate goal is to move issue into blocked status as soon as new "blocked by" link appears.

no way to achieve it within a single project?

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 11, 2023

No, it cannot be done with a single project automation because the triggering issue is in another project.

Maksim Beliaev July 11, 2023

ok, thanks

 

hope atlassian will enhance triggering mechanism in the future

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events