Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation across two projects

Enda Murray November 18, 2022

Hi,

I'm new to Jira automations, I want to set up automation across two projects (to which I have access). When the status of a linked issue is updated to 'Done' I want the status of the parent ticket to transition to in progress but I'm having problems with it. I've set up a test JQL query with a specific ticket referenced in it which has a task linked to it as a test but the status is not updating as I'd hoped.
I've attached the automation I created and the audit log in screenshots.
Any ideas, please?

Jira 1.pngJira 2.png


1 answer

1 accepted

1 vote
Answer accepted
Mark Segall
Community Champion
November 18, 2022

Hi @Enda Murray and welcome to the community!

Cross-Project automations require Jira Admin permissions.  They can be set from Settings >> Global Automation.  Once you locate the rule in global, click Rule Details and adjust the Scope option.

Enda Murray November 18, 2022

Hey @Mark Segall thank you for the quick response.
I had already included the two projects involved in the scope which is what I initially thought the problem was. I've attached a screenshot. Jira 3.png

Mark Segall
Community Champion
November 18, 2022

Ahh sorry I missed that in your initial screen shot (usually the most common cause of such issues).

Your branch appears to be the problem.  It's branching on current issue so it's never going to reach into the linked issue and will continue executing against the trigger issue.  Since the trigger is status transitioned to "Done" and the condition is executing against the trigger issue and looking for a status of "Waiting for Engineering", it will always fail.

Change the branch to be based upon the related issues - linked issues.

Like harry.michel.ntamen likes this
Enda Murray November 18, 2022

Thank you @Mark Segall I've updated and the test automation worked :) 

Like Mark Segall likes this

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