Error formatting macro: appfire-confluence-analytics: java.lang.NullPointerException: Cannot invoke "com.atlassian.confluence.xhtml.api.MacroDefinition.getMacroId()" because "macroDefinition" is null
Skip to end of banner
Go to start of banner

Define condition based issue creation - Cloud

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Description

This article explains how to allow the post function to only create the issue if certain conditions are met by the original issue. 

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.

Example

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.

Refer to Pattern matching conditioning for more details.

Example

This example shows 2 simple conditions being used:

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

Tutorials


Use this link to find all tutorials available in the Create on Transition for Jira documentation.

  • No labels