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 every user in a User Picker field and assign every newly created sub-task to a different user. In addition, add a custom summary to every sub-task depending on the assignee.


Configuration

UI Steps


UI Step
Add a Create issue post function to the workflow transition of your choice.


UI Step

Issues to be created

UI Steps


UI Step

Mode

Choose Multiple issues.


UI Step

Expression

Enter the following expression with the parsing mode set to Text list.

Code Block
languagebash
linenumberstrue
toStringList(%{issue.cfUserPicker})


UI Text Box
typeinfo

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



UI Step

Issue type

Choose Selected issue type.


UI Step

Specific issue type

Choose Sub-task.


UI Step

Parent issue

Choose Current issue.




UI Step

Summary

Enter the following expression with the expression editor in Advanced text mode:

Code Block
languagebash
linenumberstrue
getMatchingValue(^%, ["user.one", "user.two", "user.three"], ["Summary 01", "Summary 02", "Summary 03"])

The summary of the sub task will vary for every user.

UI Text Box
typetip

If you need to modify the summary for the issue assigned to user.two, you should edit "Summary 02", that is, the text in the same position in the text list as the text in the first text list.



UI Step

Additional option

UI Steps


UI Step

Select the field Assignee


UI Step

Value

Select Set field value manually (parser expression)


UI Step

Expression

Write ^% in the expression editor in Advanced text mode to retrieve the seed text.







Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel in ("use-case-workflow","parser_func_getmatchingvalue") and ancestor = "27066752" and space = currentSpace()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Create issue

Parser functions

getMatchingValue()

toStringList()

Label



Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
colourGreen
titletododone

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


...