Versions Compared

Key

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


hiddentrue

Page propertiespanel

On this page

Table of Contents

Tech review

maxLevel

status

2

colourGreen
titledone
Style guide

Status
colourYellow
titleReady for review

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

Panel

On this page

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

Page properties
hiddentrue
Automated action

Create issue

Use case description

Create a dedicated set of issues for testing purposes.

Complexity

Status
colourGreen
titleBeginner

UI Text Box
sizemedium
typeinfo

Use case

Sometimes it might be helpful to have customized test issues at hand for several scenarios; testing new feature implementations, new project setups or simply new JWT automation rules.

The following rule will take care of Creating customized issues for testing anything that needs to be tested.

exclude(On this page|Use case|When to use).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

Sometimes it might be helpful to have customized test issues at hand for several scenarios; testing new feature implementations, new project setups or simply new JWT automation rules.

The following rule will take care of Creating customized issues for testing anything that needs to be tested.




Add a Trigger → Manual

UI Steps

Image Added Manual trigger

UI Step

Excerpt Include
DECADIS:Automation Use Case - Create Rule Step
DECADIS:Automation Use Case - Create Rule Step
nopaneltrue


UI Step

Add a Trigger → Manual

UI Text Box
typenote

No further configuration needed. The rule will only be executed if a user hits the Execute button Image Added.


Image Added JQL Selector

UI Step

Add Selector → JQL Selector


UI Step

JQL Query

Use the following Expression:

Code Block
languagebash
linenumberstrue
key = nnnnn


UI Text Box
typenote

nnnnn has to be an issue key. In this case we are going to create test issues as sub-tasks under a predefined issue.

But you can also adapt the configuration to create tasks in a specific project/ under an epic/ etc.


Image Added Create issue action

UI Step

Next to the JQL Selector click on Add → Action → Create issue

UI Tabs


UI Tab
titleIssue Details


UI Steps


UI Step

Issues to be created

Choose Multiple issues


UI Step

Parser Expression

Enter the following expression with mode set to date/ mathematical

UI Steps

Image Removed Manual trigger

UI Step
Excerpt Include
DECADIS:Automation Use Case - Create Rule StepDECADIS:Automation Use Case - Create Rule Step
nopaneltrue
UI Step
UI Text Box
typenote

No further configuration needed. The rule will only be executed if a user hits the Execute button Image Removed.

Image Removed JQL Selector

UI Step

Add Selector → JQL Selector

UI Step

JQL Query*

Use the following Expressiontext-box

:

Code Block
languagebash
linenumberstrue
key = nnnnn
3



ui-
step
typenote

nnnnn has to be an issue key. In this case we are going to create test issues as sub-tasks under a predefined issue.

But you can also adapt the configuration to create tasks in a specific project/ under an epic/ etc.

Image Removed Create issue action

Issue type

Choose one of the available sub-task issue types


UI Step

Issue type

Choose Selected issue

UI Step

Next to the JQL Selector click on Add → Action → Create issue

ui-tabs




UI Tab
titleIssue DetailsFields


UI Steps
UI Steps


UI Step

Issues to be created*

Choose Multiple issues

UI Step
Parser Expression*

Summary

Enter the following expression Expression with mode set to date/ mathematicalAdvanced text:

Code Block
languagebash
linenumberstrue
3"+++TESTING+++ Sub-task " + ^



UI Step

Issue type*

Choose one of the available sub-task issue types

UI Step

Issue type*

Choose Selected issue

UI Tab
titleFields
UI Step
Summary*

Description

Enter the following Expression with mode set to AdvancedBasic text:

Code Block
languagebash
linenumberstrue
"+++TESTING+++ Sub-task "for +testing ^purposes



Description

Enter the following Expression with mode set to Basic:

UI Step
Code Block
languagebash
linenumberstrue
Sub-task for testing purposes

Fields

UI Step

Fields

Set the fields according to your needs.








Screencast

This is how the configuration above should look on your screen

Multimedia
namecreate-test-issues.mp4
width700


Import the example

Import the JSON file below to get started in no time.


UI Expand
titleJSON


UI Text Box
typewarning

After importing the JSON file, make sure to check the configuration of the rule. Non-existing configuration elements (issue types, fields, values etc.) will be highlighted.


Code Block
languagejs
themeMidnight
linenumberstrue
{
    "name": "# Create test issues",
    "description": "",
    "creator": "admin",
    "status": false,
    "triggerData": "",
    "triggerType": "MANUAL",
    "configuration": {
        "refs": [
            "issue",
            "system",
            "trigger.issue",
            "trigger.parent"
        ],
        "actingUser": "field_00020",
        "triggerType": ""
    },
    "children": [
        {
            "sequence": 0,
            "type": "JQL_SELECTOR",
            "ruleEntityType": "SELECTOR",
            "configuration": {
                "refs": [
                    "system"
                ],
                "jql": "key = EO-57",
                "jqlParsingMode": "jql",
                "actingUser": "field_00020"
            },
            "children": [
                {
                    "sequence": 0,
                    "type": "CREATE_ISSUE",
                    "ruleEntityType": "ACTION",
                    "configuration": {
                        "refs": [
                            "issue",
                            "issues",
                            "selector.issue",
                            "selector.parent",
                            "system",
                            "remote.math"
                        ],
                        "issueSelectionParserValue": "3",
                        "issueSelectionParserValueParsingMode": "math",
                        "issuetype": "5",
                        "parentSelection": "selectorIssue",
                        "parentIssueKeyParsingMode": "textBasic",
                        "projectKeyParsingMode": "textBasic",
                        "actingUser": "field_00020",
                        "summary": "\"+++ TESTING +++ Sub-task \" + ^",
                        "summaryParsingMode": "textAdvanced",
                        "description": "Sub-task for testing purposes",
                        "descriptionParsingMode": "textBasic",
                        "inheritFieldsFrom": "none",
                        "inheritFieldsIssueKeyParsingMode": "textBasic",
                        "inheritIssueLinks": "none",
                        "inheritIssueLinksIssueKeyParsingMode": "textBasic",
                        "fields": [
                            {
                                "field": {
                                    "label": "Priority",
                                    "value": "00017",
                                    "meta": {
                                        "isStringEphemeral": false,
                                        "isCustomField": false,
                                        "isIndexable": false,
                                        "isCalculated": false,
                                        "isMultiValued": false,
                                        "type": "Issue priority",
                                        "isNumericEphemeral": false,
                                        "isSystemField": true,
                                        "hasStandardConfig": true,
                                        "isSubtaskOnlyField": false,
                                        "isMultiWritable": false,
                                        "isNumericField": true,
                                        "isVirtualField": true,
                                        "id": "17",
                                        "key": "priority",
                                        "isClearable": true
                                    }
                                },
                                "valueType": {
                                    "label": "Selected value",
                                    "value": "fix"
                                },
                                "value": {
                                    "label": "High",
                                    "value": "10001"
                                },
                                "parsingMode": {
                                    "label": "",
                                    "value": ""
                                }
                            }
                        ],
                        "issueLinks": [],
                        "issueSelection": "math",
                        "inheritFields": []
                    },
                    "children": null,
                    "hasChildren": false
                }
            ],
            "hasChildren": true
        }
    ],
    "hasChildren": true
}

Image Removed Related use cases

Page properties report
headingsAutomated action, Use case description, Complexity
cqllabel = "use-case-auto" and label = "create-issue" and space = "JWTSDC"

}




Image Added Related use cases

Page properties report
headingsAutomated action, JWT feature, Label
cqllabel = "use-case-auto" and label = "create-issue" and space = "JWTSDC"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue



Page properties
hiddentrue


JWT feature

Image Added

Automated actionCreate issue action
Label




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titleto do
Status
colourGreen
titledone
Status
colourYellow
titleneeds review
Status
colourRed
titleflagged

Excerpt IncludeDECADIS:Contact supportDECADIS:Contact supportnopaneltrue