Add comment to sub-task when parent transitions
Issue #192
resolved
I'd like to add a post-function so that when a parent issue is resolved all sub-tasks get a new comment in the form of:
"The parent issue of this subtask has been resolved as "<resolution goes here>" <Parent Issue Key>"
Could you advise?
Comments (3)
-
repo owner -
reporter Beautiful! Thanks again.
-
repo owner - changed status to resolved
- Log in to comment
Hi Will,
You can do it using 2 post-functions in transition "Resolve Issue" of parent's workflow:
1) Post-function "Copy a parsed text to a field" with the following configuration:
Text to be parsed is:
Note that:
2) Post-function "Write field on linked issues or subtasks" with the following configuration:
Once configured, transition "Resolve Issue" in parent's workflow will look like this:
This solution also works if parent issue and subtasks share the same workflow.