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

In this use case, we will create randomly sub-tasks for specific issues.

Use the following use case to create random issues with your desired specifications!


Configuration

UI Steps


UI Step

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


UI Step

Issues to be created

UI Steps


UI Step

Mode

Choose Single issue


UI Step

Issue type

Choose Selected issue type → Sub-task


UI Step

Parent issue

Choose Current issue



UI Text Box
typenote

The parameters above can be changed to your specific needs, check the related use cases for inspiration.



UI Step

Summary

Enter a summary according to your needs, like

Code Block
linenumberstrue
Weekly test



UI Step

Description

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


UI Step

Further configuration

UI Expand
titleFields

You have the possibility to set additional fields on the issue to be created.

Maybe you want to predefine the issue Assignee or a time estimation for time logging purposes.

UI Text Box
typetip

Don't want to set the fields? You can also copy existing values from the current issue!

For further information, you might want to take a look at the Create issue documentation.



UI Expand
titleIssue links

This is an optional parameter where you can define issue links for the issue to be created.


UI Expand
titleAdditional options

If you want to copy issue keys of created issues into the field Temporaty Text 3 as a text list, choose this option.


UI Expand
expandedtrue
titleConditional execution

To have the issues created randomly, enter the following expression:

Code Block
languagebash
linenumberstrue
modulus(round({system.currentDateTime}/random()*10),3) = 0

You can read more about the JWT expression parser functions used in the expression above:


UI Expand
titleRun as

Include Page
DECADIS:_snip_runAs_Server_postFunction
DECADIS:_snip_runAs_Server_postFunction





Screenshots


Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow 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

Workflow function

Create issue

Label


Parser functions

modulus()

round()

random()



Page properties
hiddentrue



Status
Tech review

Status
colourGrey
titleto do

Style guide

Status
colourGreen
titledone

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