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|Use case).*
typeflat
separatorpipe


UI Text Box
sizemedium
typeinfo

Use case

This use case is made to create Create multiple sub-tasks with different summary summaries and descriptiondescriptions.

Configuration steps

UI Steps
UI Step

Mode*

Choose Multiple issues (according to the desired Choose Multiple issues based on a number and indicate the number of sub-tasks) that you would like to create.

UI Step

Issue type*

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

UI Step

Parent issue*

Select current issue.

Expand
titlemore info...
UI Text Box
typeinfo

Thesub-task will be created under thecurrent issue.

UI Step

Summary*

Insert the following expression:

Code Block
linenumberstrue
%{
{seed.number} = 1 ? "Summary name 1" : (
{seed.number} = 2 ? "Summary name 2" : (
{seed.number} = 3 ? "Summary name 3" : (
{seed.number} = 4 ? "Summary name 4" : (
{seed.number} = 5 ? "Summary name 5" : (
{seed.number} = 6 ? "Summary name 6" : (
{seed.number} = 7 ? "Summary name 7" : 
"Default summary"
))))))
}nthElement(["First summary", "Second summary", "Third summary"], {seed.number})}
UI Text Box
typenote

Make sure that the number entered to define the number of issues to be created matches the number of texts in the list.

Every text in the list from the expression represents each one of the summaries of the sub-tasks. The sub-tasks will acquire them based on the order of creation.


UI Step

Description

Insert the following expression:

Code Block
linenumberstrue
%{
{seed.number} = 1 ? "Description text 1" : (
{seed.number} = 2 ? "Description text 2" : (
{seed.number} = 3 ? "Description text 3" : (
{seed.number} = 4 ? "Description text 4" : (
{seed.number} = 5 ? "Description text 5" : (
{seed.number} = 6 ? "Description text 6" : (
{seed.number} = 7 ? "Description text 7" : 
"Default text"
))))))
}	nthElement(["First description", "Second description", "Third description"], {seed.number})}
UI Text Box
typenote

Every text in the list from the expression represents each one of the descriptions of the sub-tasks. The sub-tasks will acquire them based on the order of creation.

UI Step

Run as*

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

Image Modified  Related examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Complexity
sortByTitle
cqllabel = "use-case" and ancestor = "38569502"

Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue

Page properties
hiddentrue
JWT feature

Workflow functionCreate issue
Parser functionsnthElement()
Label
Use case descriptionThis use case is made to create Create multiple sub-tasks with different summary summaries and descriptiondescriptions.
Complexity

Status
titleINTERMEDIATE