Forums

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

Transition Parent: Automation vs Scriptrunner

Fred
Contributor
May 13, 2022

I'd like to transition a parent in Project A when a child in Project B does.

I can use global automations, though that will chew through our executions. Is there a way to update cross-project with scriptrunner?

2 answers

1 accepted

1 vote
Answer accepted
Fred
Contributor
May 13, 2022

removed

Craig Nodwell
Community Champion
May 13, 2022

ugghh

I had a feeling you were going to say that.
So you'll have to write a custom scripted post function, or an event listener.
Read the issue, find the value of the parent issue, you may have to get the outward link to get that issue then trigger the transition.

Have a look at this post.
Transition-a-linked-issue 

Fred
Contributor
May 13, 2022

yikes, thanks for the pointer!

Like Craig Nodwell likes this
0 votes
Craig Nodwell
Community Champion
May 13, 2022

Hi @Fred Scriptrunner can most certainly do this in a post function.

Look at the section for:
Transition Parent Issue

Scriptrunner Post Functions 

Fred
Contributor
May 13, 2022

The scriptrunner post function works out of the box if parent and child are in the same project. Mine share a workflow, though are in two different projects. I didn't see anything about cross-project executions?

Craig Nodwell
Community Champion
May 13, 2022

Do you have any other plugins?
JWT or JSU they both have this functionality.
Jira Workflow Toolbox and Jira Scripting Utilities...

Suggest an answer

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

Atlassian Community Events