On this page



Use case

When an issue is not assigned, then auto-assign the issue to a random user in a specific project role to ensure the consistency and productivity of your team.




Issue event


Add a Trigger → Issue event → Issue created

Boolean condition

Next to the Issue event click on Add → Condition → Boolean condition


Add the following expression:

%{trigger.issue.assignee} = null




Assign issue

Next to the boolean condition click on AddAction→ Assign issue


Assignee

Choose User in project role


Project role

Choose the specific project role you want to use.


User selection mode

Choose Random user in selected project role







Screencast

No screencast available at the moment.


Import the example

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


{
    "name": "Auto assign issues to your team",
    "description": "",
    "creator": "admin",
    "status": false,
    "triggerData": "1",
    "triggerType": "ISSUE_EVENT",
    "configuration": {
        "refs": [
            "issue",
            "system",
            "trigger.issue",
            "trigger.parent"
        ],
        "triggerType": "1"
    },
    "children": [
        {
            "sequence": 0,
            "type": "BOOLEAN_CONDITION",
            "ruleEntityType": "CONDITION",
            "configuration": {
                "refs": [
                    "issue",
                    "project",
                    "system",
                    "trigger",
                    "trigger.issue",
                    "trigger.parent"
                ],
                "expression": "%{trigger.issue.assignee} = null",
                "expressionParsingMode": "logical",
                "actingUser": "field_00020"
            },
            "children": [
                {
                    "sequence": 0,
                    "type": "ASSIGN_ISSUE",
                    "ruleEntityType": "ACTION",
                    "configuration": {
                        "refs": [
                            "issue",
                            "project",
                            "system",
                            "trigger",
                            "trigger.issue",
                            "trigger.parent"
                        ],
                        "assignMode": "projectRole",
                        "projectRole": "10001",
                        "mode": "projectRoleRandom",
                        "sendMail": "true",
                        "actingUser": "field_00020"
                    },
                    "children": null,
                    "hasChildren": false
                }
            ],
            "hasChildren": true
        }
    ],
    "hasChildren": true
}




Related examples




JWT feature

Automated actionAssign issue action
Label






Status
Tech review

Style guide