- edited description
Move subtasks in sync with Parent
Our parent-level issues and subtasks use the same workflow. I've looked through the documentation but didn't find exactly what I was looking for, or I missed it - if it exists could you link me?
I'm trying to get the subtask(s) of an issue to move along the workflow with the parent issue. i.e Parent is put "in progress", subtasks moved to "in progress" regardless of it's current status.
Thanks, Will
Comments (10)
-
reporter -
reporter - edited description
-
repo owner Hi Will,
You need to use 2 post-functions in transition "Start Progress" in parent's workflow:
1) "Copy a parsed text to a field" with the following configuration:
2) "Write field on linked issues or subtasks" with the following configuration:
Once configured, transition "Start Progress" in parent issue's workflow looks like this:
IMPORTANT: You have to use a similar configuration in any transition of parent's workflow that produces an issue status change, but replacing "In Progress" in post-function "Copy a parsed text to a field" with the target status of the transition.
-
repo owner Yes, you should insert both post-functions to all the transitions in parent's workflow. You simply have to change the name of status in first post-function, in order to match the name of the destination status in the transition where both post-functions are inserted.
-
reporter - changed status to resolved
Thanks!
(deleted my last comment, I noticed the answer was at the bottom of your original reply)
-
reporter - changed status to open
Doesn't appear to be working.
Do you see any issues with my setup above? I've tried it with "In Analysis" as well as with "IN ANALYSIS" but doesn't seem to make a difference. Any blaring issues?
-
repo owner Please check that there is at least a transition from subtask's current status to "IN ANALYSIS" status.
When you write the name of a status (case is ignored) into virtual field "Issue status", what the plugin does is to look for transitions available from the current status of the issue, to the status whose name has been written into virtual field "Issue status", and in case such a transition exists, the plugin tries to execute it to move the issue to that status.
-
reporter It was user error afterall. I was using 'Ephemeral number' when I was supposed to be using 'Ephemeral string' and now it works.
-
reporter I've gone through all my transitions to make sure I'm using the right Ephemeral string field, and that there are no typos in my status names. Seems to work most of the time and I can't nail down why it won't work in some instances. I assume I'm missing something.
EDIT/UPDATE: I was missing something. One of the Ephemeral fields I entered was storing the Step Name (id) rather than the actual name of the Linked Status.
Thanks Again!
-
reporter - changed status to resolved
- Log in to comment