Versions Compared

Key

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


Panel

On this page

Table of Contents
exclude(On this page).*
stylecircle
typeflat
separatorpipe



Panel
borderColor#1b878f
titleColor#1b878f
titleBGColorwhite
titleUse case details


Page properties


FunctionCreate issue
Type
Use case description

This is one of the built-in usage examples and creates a sub-task only if the priority of the current issue is "High".

Complexity

Status
colourGrey
titleintermediate






Configuration steps

Definition of basic (required) parameters


ParameterValue(s) / Steps to set value(s)Notes
Issue type *
  1. Issue type: Selected issue type
  2. Value: Sub-task

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

(warning) The issue type must be present in your system.

Parent issue

Current issue

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

Summary *


Code Block
Escalation of %{issue.key}


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


Code Block
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 *Current userThe post function will be executed as the current user.
Conditional execution


Code Block
%{issue.priority} == "High"


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




This is how it's done


Panel
borderColorlightblue
titleScreencast

<Screencast goes in here> Detailed instruction can be found here: https://www.decadis.net/confluence/display/XAPPSBRANDING/Screencasts+Framework

Use multimedia macro!




This is how it should look like


WhereFinal configuration
Backend


Frontend




Related examples

Page properties report
firstcolumnUse case
headingsType,Function, Use case description, Complexity
sortByTitle
cqllabel = "use-case" and space = currentSpace() and parent = "22545718"