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



When

doing a lot of manual work, some steps can be forgotten from time to time, even if they are tightly related to each other, e.g. transitioning an issue to "In Development" when the assignee is changed to a user in the

'

"Developers

'

" project role

, the issue is transitioned to 'In Development' status.

. In this example we will configure a rule that will automatically transition those issues.

UI Text Box
sizemedium
typeinfo

Use case

When the assignee is changed to a user in the 'Developers' project role, the issue is transitioned to 'In Development' status.

Page properties
hiddentrue
Function

<link to function being used>

Use case description
Complexity

Status
colourGreen
titleBeginner




UI Steps

Image ModifiedField

Changed Event

changed event

UI Step

Excerpt Include

Create a new rule and name it appropriately.

UI Text Box
typetip

Providing a description will help you to identify what the rule does but this step is optional.

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


UI Step

Add a trigger and choose the Field Changed Event Trigger → Field changed event

UI Steps


UI Step

Field

Choose Assignee

in Fields* and Any value in Changed to*


UI Step

Changed to

Choose Any Value



UI Text Box
typeinfo

No further configuration needed. The automation rule is triggered every time an issue is being transitioned.



Image ModifiedUser

Condition

condition

UI Step

Add ConditionUser Conditioncondition

UI Steps


:
UI Step

User to evaluate

*

Choose

User in field → Assignee


:
UI Step

Check against

*

Choose

User in Project role(s) → Developers




Image ModifiedTransition

Issue

issue action

UI Step

Next to the User Condition click on Add → ActionTransition

Issue

issue

UI Steps


UI Step
 

Mode

*:

Choose Transition to

status →

status → In Development

Excerpt Include
DECADIS:Automation Use Case - Target status has to be reachable
DECADIS:Automation Use Case - Target status has to be reachable
nopaneltrue


UI Step

Run as

Choose User in field: → Assignee




box
ui-textstep

Excerpt-

typenote

The target status has to be reachable from the current status, otherwise the action will not be executed.

Include Page
DECADIS:Automation Use Case - Enable Rule
DECADIS:Automation Use Case - Enable Rule
nopaneltrue

UI Step

Activate the rule by clicking on the Activate rule button Image RemovedImage Removed




Image ModifiedScreencast

This is how the configuration above should look on your screen

Multimedia
nametransition_issues_when_assigned_to_a_developer.mp4
width700


Image AddedImport 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": "Transition issues when assigned to a developer",
    "description": "",
    "creator": "admin",
    "status": false,
    "triggerData": "",
    "triggerType": "FIELD_CHANGED_EVENT",
    "configuration": {
        "refs": [
            "issue",
            "system",
            "trigger.issue",
            "trigger.parent"
        ],
        "fieldId": "00003",
        "option": "any",
        "triggerType": ""
    },
    "children": [
        {
            "sequence": 0,
            "type": "USER_CONDITION",
            "ruleEntityType": "CONDITION",
            "configuration": {
                "refs": [
                    "issue",
                    "project",
                    "system",
                    "trigger",
                    "trigger.issue",
                    "trigger.parent"
                ],
                "userOption": "userInField",
                "userInField": "00003",
                "checkOption": "projectRole",
                "projectRole": [
                    "10001"
                ]
            },
            "children": [
                {
                    "sequence": 0,
                    "type": "TRANSITION_ISSUE",
                    "ruleEntityType": "ACTION",
                    "configuration": {
                        "refs": [
                            "issue",
                            "project",
                            "system",
                            "trigger",
                            "trigger.issue",
                            "trigger.parent"
                        ],
                        "option": "status",
                        "status": "10412",
                        "actingUser": "field_00020"
                    },
                    "children": null,
                    "hasChildren": false
                }
            ],
            "hasChildren": true
        }
    ],
    "hasChildren": true
}




Image AddedRelated use cases

Page properties report

Image Removed Related examples

Page properties report
headingsAutomated action, JWT feature, Label
cqllabel = "use-case-auto" and label = "transition-issue" and space = "JWTSDC"
If you still have questions regarding this example or others, feel free to refer to our support team.


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Image Added

Automated actionTransition 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