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

Compare with Current View Page History

« Previous Version 8 Next »

On this page

Use case details
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

INTERMEDIATE



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 *
Escalation of %{issue.key}
A generic summary indicating that the bug needs to be classified.
Description
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.displayName}|~accountid:%{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
%{issue.priority} == 'High'
The sub-task will only be created if the current issue (parent) has a priority of High.

Variations

You can easily modify this use case to further restrict the execution of the post function.

ParameterValue(s) / Steps to set value(s)Notes

Conditional execution

XXX



Conditional execution
XXX




This is how it's done


Screencast

<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