Page tree
Skip to end of metadata
Go to start of metadata

Introduction

This post-function allows you to create sub-tasks on transition, based on information provided in the transitioned issue. There's a possibility to create multiple issues at once, based on selected values from Select, Component, and Version multi-select fields.

Element summary

Status

Version compatibility

6.0.1 - Latest

Supported

Yes

Introduced in version

2.1.0

Post function parameters

 This post-function takes the following parameters:

  • Summary - summary of the new issue. Copy source issue summary option available

  • Description - description of new issue (optional). Copy source issue description option available

  • Issue type - select issue type for new sub-task

  • Link to source issue - allows creating a link to source issue if needed

  • Priority - set a priority for a new sub-task

  • Reporter / Assignee - can be set Current user, Source issue reporter, or Source issue assignee. Click Pick user to select any another user from the list

  • Select issue fields - select which issue fields and issue custom fields will be added to the new issue. Choose the needed field from the list that appears and click Add field

  • Create multiple issues - allows creating multiple issues (up to 100). Iterating is possible over Issue fields such as Affects version/s, Component/s, Fix version/s, Labels, Sub-Tasks, or Issue Custom Fields. Select Fixed issue quantity to set the desired number of issues to be created

  • Other - allows ignoring failure on sub-task creation.

Example of use

Tags

Note: tags are case insensitive.

Tag

Description

$$FIELD_ID$$

Copy its value to any text fields available in an issue.

$$ISSUEKEY$$ or $$KEY$$

Copy source issue key to any text fields available in an issue.

$$VALUE$$

Paste value of the current iteration of Iterate over the field.

Example: If you choose Component as a source of multiple sub-tasks, the post-function will create as many sub-tasks as there are Components in the parent issue, and if you use the $$VALUE$$ tag, each of the created sub-tasks will have the name of the component put in place of this tag.

$$INDEX$$

Paste index of the current iteration of Iterate over the field.

Example: If selected to create a certain number of sub-tasks, the $$INDEX$$ tag will display the index of the current iteration in place of the tag.

$$SIZE$$

Paste size of Iterate over the field.

Example: If selected to create a certain number of sub-tasks, the $$SIZE$$ tag will display the total number of iterations in place of the tag.

Video Instruction

  • No labels