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|When to use).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

Developing new software can be perfectly tracked within Jira. But at some point, new software has to be released and all related tickets should then be closed.

The following rule can be used to automatically transition all issues in the fixed version to be transitioned to 

Status
subtletrue
colourGreen
titledone




UI Steps

Project event

UI Step

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


UI Step

Add a Trigger → Project Event → Version released

UI Text Box
typeinfo

In this case, the Version released event will be used. When no project is specified, the trigger will listen on every project for version releases.


Issue version selector

UI Step

Add Selector → Issue Version Selector


UI Step

Version Fields

Choose Fix Version/s


Transition issue action

UI Step

Next to Issue Version Selector click on Add → Action → Transition issue


UI Step


UI Steps


UI Step

Mode

Choose Transition to status


UI Step

Status

Choose Done

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

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




Screencast

This is how the configuration above should look on your screen

Multimedia
nametransition_affected_issues_when_releasing_a_version.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": "Transition affected issues when releasing a version",
    "description": "",
    "creator": "admin",
    "status": false,
    "triggerData": "VERSION_RELEASE_EVENT",
    "triggerType": "PROJECT_EVENT",
    "configuration": {
        "refs": [
            "issue",
            "system",
            "trigger.issue",
            "trigger.parent"
        ],
        "triggerType": "VERSION_RELEASE_EVENT"
    },
    "children": [
        {
            "sequence": 0,
            "type": "VERSION_BASED_SELECTOR",
            "ruleEntityType": "SELECTOR",
            "configuration": {
                "refs": [
                    "project",
                    "system",
                    "trigger",
                    "trigger.project",
                    "trigger.version",
                    "version"
                ],
                "fields": [
                    "fixVersions"
                ],
                "actingUser": "field_00020"
            },
            "children": [
                {
                    "sequence": 0,
                    "type": "TRANSITION_ISSUE",
                    "ruleEntityType": "ACTION",
                    "configuration": {
                        "refs": [
                            "issue",
                            "project",
                            "selector.issue",
                            "selector.parent",
                            "system",
                            "trigger",
                            "trigger.project",
                            "trigger.version",
                            "version"
                        ],
                        "option": "status",
                        "status": "10012",
                        "actingUser": "field_00020"
                    },
                    "children": null,
                    "hasChildren": false
                }
            ],
            "hasChildren": true
        }
    ],
    "hasChildren": true
}




Related use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Automated actionTransition issue action
Label

Status
colourRed
titlestaff pick




Page properties
hiddentrue



Status
Tech review

Status
titleto do

Style guide

Status
colourGreen
titledone

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