Versions Compared

Key

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

Div
idProductTOC

On this page

Table of Contents
maxLevel2
excludeOn this page
typeflat
separatorpipe

Description

Create Issue and Create Sub-task post functions can be configured to create the issue only if certain conditions have been met by the issue which is in transition.

Conditions

Define the conditions under which to create the new issue(s) or sub-task(s). If these conditions are not met, then no issues or sub-tasks are created. If you do not define any conditions, then your issues and sub-tasks are always created when the associated workflow transition occurs. There are two types of conditioning, they are:

...

Table plus
sortColumn1

Field

Create Issue
(Available)

Create Sub-task
(Available) 

Default

Description

Create if original issue is a sub-task

(error)

(tick)


Only create the issue if the original issue is a sub-task.

Sub-task default handling 

(error)

(tick)


Recommend to not select this option unless needed. Select to have Jira default sub-task create handling applied. Selecting this may override settings provided in the create configuration like setting fix versions. Defaulting behavior is similar to how sub-tasks are created from the UI. Since 5.0.

Example scenarios where you may need this:

  • You need a create listener to access the issue parent

  • You have a post function on the create issue transition that needs access to the parent

Condition 1

(tick)

(tick)


Using substitution variables, you can specify a value or exact match.

Condition 2

(tick)

(tick)


Using substitution variables, you can specify a value or exact match.  if both Condition 1 and Condition 2 are specified then both conditions must match in order for the issues to be created. The conditions are ANDed together.

Regular expression pattern

(tick)

(tick)


Specify a regex pattern for conditional matching. The pattern is applied to the Condition field to the left (e.g., Condition 1, or Condition 2).

Exact, Literal, Negative

(tick)

(tick)


Specify how the regex pattern should be evaluated. 

  • Exact - The pattern must be an exact match.

  • Literal - Treat any special characters in the pattern as literal characters.

  • Negative - Reverse the condition so that the condition is true if the match is false and vice versa.

Configuration

Define additional configurations for the issues or sub-tasks being created.

...