Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Repair Jira Macros

...

Section
Column

Description

Requests have been made to allow the post function to only create the issue if certain conditions are met by the original issue. For instance: 

Jira Legacy
serverSystem JIRA (bobswift.atlassian.net)
serverId729d679a8382ec9d-302cabb6-339f3a29-958b8d72-015e107badcd95b9a5732a63
keyCSOT-16
. This how to discusses how creation can be conditioned.

Types of conditioning

Subtask conditioning

This has been available for many versions. It prevents the creation of subtask if the original issue is a subtask and the configuration says to not create a subtask in this case. It has the optional capability to create a subtask which is a sibling of the original issue.

Pattern matching conditioning

This takes advantage of the find/replace capabilities to provide a very flexible way to condition the creation based on matching issue information with a regex pattern. This may be a little bit more complex/less usable for simple cases, but can be very powerful for covering many use cases. The simple cases can still be done with little knowledge of regular expressions.

All the standard substitution variables can be used. For instance, see the help text at the bottom of the add or edit screens.

How to use pattern matching conditioning has more details.

Column

Examples

This example shows 2 simple conditions being used. 

  1. Project of the original issue must be ZCOT or no subtask will be created.
  2. Original issue type must be a Bug and its priority must be either Major or Critical or no subtask will be created.