Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width30%
Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1

Column



Features used to implement the example



Example: Create a sub-task for each user selected in a Multi-User Picker custom field

This is an example of creation of multiple issues based on seed strings using Create issues and sub-tasks post-function.

We want to automatically create as many sub-tasks as users are selected in a Multi-User Picker custom field called Approvers and assign them to a user in that field when a certain transition is executed in parent issue.

We use Create issues and sub-tasks post-function in a transition or the workflow of parent issue with the following configuration:



Once configured, transition will look like this:




Result screenshots post-function "Create issues and subtasks" - Create a subtask per user selected in User Picker

The workflow is shared between parent issue and sub-task, thus we are using Conditional execution with boolean expression %{00041} = null to avoid the post-function to be executed by sub-tasks.

Note that:

  • %{00041} is field code for "Parent's issue key"


Other examples of that function

Incoming Links
pageCreate issues and sub-tasks
labelsexample

Related Usage Examples

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