Forums

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

How to change status of parent issue when subtask transition (change status)?

Denis Mullaraj November 1, 2018

I have 2 worklfows:
1- workflow for issue type "subtask"

2- workflow for issue type "task, user story, bug, epic"

 

I would like that
- when subtask are moved from TO DO -> IN PROGRESS for example also the issue parent status is set "IN PROGRESS"
-when I move it from IN PROGRESS -> DONE to update issue parent status in "DONE" in case all subtasks are moved to DONE
- when I move one subtask from DONE -> IN PROGRESS or DONE -> TO DO the parent issue status updates to TO DO or IN PROGRESS.

I would like to achieve this in without any extra addon/plugin, with the basic features/setup/configurations available in Jira Cloud.

 

1 answer

1 vote
Alexey Matveev
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.
November 1, 2018

Hello,

You would need an add-on for it. For example, the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could write post functions for each transition leading from the To Do status to In Progress, In Progress to Done, Done to In Progress and so on.

For example, for the To Do to In Progress post function would look like this:

if (isNotNull(parent)) {
    autotransition("In Progress Transition", parent);
}

"In Progress Transition" is the name of the transition leading from the To Do status to In Progress.

You can read more about post functions here:

https://confluence.cprime.io/display/JJUPIN/Customizing+workflows?src=contextnavpagetreemode

Denis Mullaraj November 1, 2018

Is it possible without any addon?

Alexey Matveev
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.
November 1, 2018

It is not possible without an add-on.

Suggest an answer

Log in or Sign up to answer