On this page

Use case

Create a sub-task only if the priority of the current issue is "High".


Configuration steps

Mode*

Choose Single issue.

Issue type*

Choose Selected issue type and Sub-task as its value.

The issue type to be created is being set to Sub-task.

The issue type must be present in your system.

Parent issue*

Select current issue.

The sub-task will be created under the current issue.

Summary*

Insert the following expression:

Escalation of %{issue.key}

A generic summary indicating that the bug needs to be classified.

Description

Insert the following expression:

This sub-task was automatically created because the parent issue %{issue.key} had a priority of High at the time of creation.

In case doubts or concerns do not hesitate to contact %{system.currentUser}.

The description links to the current issue key.

The syntax used for the mention guarantees that a working user mention is added to the comment regardless of personal Atlassian account settings of the mentioned user.

Run as*

Choose which user* will be able to execute the post function. By default, it is set to the Current user.

Conditional execution

Insert the following expression:

%{issue.priority} = "High"

The sub-task will only be created if the current issue (parent) has a priority of " High".



If you still have questions, feel free to refer to our support team.