Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Section


Column
width30%600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1



Column




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:

Image RemovedImage Added


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: 

Image Removed

Image Removed

Image RemovedImage AddedImage AddedImage Added


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


Image RemovedImage Added



Other examples of that functions

Write field on linked issues or sub-tasks

Incoming Links
pageWrite field on linked issues or sub-tasks
labelsexample



Copy a parsed text to a field

Incoming Links
pageCopy parsed text to a field
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label in ("sub-task","transition")