Versions Compared

Key

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

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe

UI Text Box
sizemedium
typeinfo

Use case

Create a sub-task for each selected component in your projectthe current issue, you can make use of this function to avoid repetitive tasks when you have multiple components and want to create a sub-task for each.

Page properties
hiddentrue
Function

<link to function being used>

Type

Image RemovedPost function

Use case description

Create a sub-task for each component in your project, you can make use of this function to avoid repetitive tasks when you have multiple components and want to create a sub-task for each.  

Complexity

Status
colourGreen
titleBeginner

Image AddedConfiguration

Basic configuration*

UI Steps
UI Step

Add a Create issue post function to the workflow transition you want.

UI Step

Issues to be created

ui-
UI Steps
UI Step

Mode

*

Choose Multiple issues.

UI Step

Expression

*-textbox

Code Block
linenumberstrue
toStringList(%{issue.

component
components})
Expand
titlemore info...
info

with parsing mode set to Text list.

UI Text Box
iconfalse
typeinfo

The number of list elements defines the number of issues to be created.

ui
-
typewarning

The expression must return a string list.

step

Issue type

*

Choose Selected issue type.

UI Step

Specific issue type

Choose Sub-task.

UI Step

Parent issue

*

Choose Current issue.

Fields*

This is a mandatory field to summarize your issue, and you can also give a summary using field codes
UI Step

Summary

*

Enter the following expression 

Code Block
languagebash
linenumberstrue
"Sub-task related to "
+ ^%+

UI Expand
titlemore info...
UI Text Box
typeinfo
 + %{seed.text}

with parsing mode set to Advanced text.

UI Step

Describe your issue

Additional fields

UI Expand
titlecopy remaining fields

Choose from which issue you want to copy the remaining fields from.

If you chose an issue to copy from you would have to choose between the following options (multi-choice is possible):

  •  All remaining fields
  •  Attachments
  •  Comments
  •  Issue links
UI Expand
titleIssue links

This is an optional parameter where you can define issue links to be created for the new issue that you are currently creating,

UI Expand
titleAdditional options
  •  If you want to copy issue keys of created issues into the field Ephemeral String 3 as a string list. Choose this option.
UI Expand
titleConditional execution

If you want some conditions that need to be checked before the execution of this post function. add your Boolean expression ( it has to return the value true or false).

UI Expand
titleRun as

Choose which user you want to give permission to execute this post function. By default it is set to the Current user.

Description

To enrich the issue with further information, you might want to add a short description. It is not mandatory, though.


Image AddedScreenshots

Image Added


After checking if the parameters match this example you can click on add and this is how the post function should look like.

Image Removed

Now that you are familiar with this post function and what it does, you can configure the parameters based on your needs.

Related examples

Page properties report
firstcolumnUse case
headingsTypeJWT feature, Function, Use case description, ComplexityWorkflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case-workflow" and space = currentSpace() and ancestor = "27066752"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue

Page properties
hiddentrue
JWT feature

Image Added

Workflow function

Create issue

Parser functionstoStringList()
Label
Page properties
hiddentrue

Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged