On this page



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 




Project event



Add a Trigger → Project Event → Version released

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

Add Selector → Issue Version Selector


Version Fields

Choose Fix Version/s


Transition issue action

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




Mode

Choose Transition to status


Status

Choose Done






Screencast

This is how the configuration above should look on your screen


Import the example

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



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.


{
    "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




JWT feature

Automated actionTransition issue action
Label






Status
Tech review

Style guide