Forums

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

Groovy script to change the Parent issue status when child status is changed

SHANAVASH MOHAMED
Contributor
May 3, 2018

Hi everyone, I am aware of Workflow plugin but client is not ready to buy it. I am trying to figure out a script so that the parent status changes when child status is changed. 

E.g. When i was created one story and under 2 more sub-tasks when i changed sub task the transition to ToDo -> In Progress automatically updated on parent status is ToDo -> In Progress. If possible Please tell me.

 

1 answer

0 votes
Marcos Sanchez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 3, 2018

Hi,

I don't know which add-on are you planning to use, but with Jira Misc Workflow Extensions you can add a postfunction in your workflow that, in a defined step (for example, "Start progress"), you can transition the parent issue with the status you define, and without needing a script.

It also allows you to add a comment, set conditions and some configurations.


I attach screenshots as you can see it:

2018-05-03_11h57_26.png

2018-05-03_11h58_07.png

 

Anyway, if you want to do this with a script instead of using this add-on, maybe THIS answer could help you.

 

Regards,
Marcos

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events