- edited description
Transition sub-task's status when parent is resolved?
Inquiring about how to automatically transition a Priority = “BLOCKED” Sub-task issuetype to status = “To-do”, when the parent task has been Resolved.
Would like to have something that when you resolve ANY issue, it looks to see if there is a “BLOCKED” sub-tasks, and would then transition any sub-tasks status automatically to be “To-Do”.
Comments (4)
-
reporter -
repo owner You should insert 2 post-functions in "Resolve Issue" transition of parent's workflow:
1) "Copy a parsed text to a field" post-function with the following configuration:
2) "Write field on linked issues or subtasks" post-function with the following configuration:
Once configured, transition "Resolve Issue" in parent's workflow will look like this:
Note that:
- Filtering expression used is: ^%{00017} = "BLOCKED"
- Screenshot of "Write field on linked issues or subtasks" post-function shows 2 additional parameters not present in version 2.1.31: " Don't overwrite target field" and "Run as". These are two new parameters that will be included in version 2.1.32 of the plugin.
-
reporter Thank you again so much for all your timely support!
UPDATE: "blocked" was actually a status and not a priority but I was easily able to swap out the variable for that. I should add for anyone reading this that the "BLOCKED" was case sensitive and altough it shows up everywhere in the Jira UI as BLOCKED the post-function didn't work until I changed it to ^{00016} = "Blocked" because "Blocked" is how the actual status is entered in the system.
-
reporter - changed status to closed
- Log in to comment