Example: Create a comment in sub-tasks when parent transitions

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>"

You can do it using 2 post-functions in transition "Resolve Issue" of parent's workflow.

Post-function Copy a parsed text to a field with the following configuration:


Text to be parsed is:

The parent issue of this subtask has been resolved as "%{00028}": %{00015}.

Note that:

  • %{00028} is field code for "Resolution"
  • %{00015} is field code for "Issue Key"

Post-function Write field on linked issues or sub-tasks with the following configuration: 


Once configured, transition "Resolve Issue" in parent's workflow will look like this:




Related Usage Examples