You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »


On this page

Use case

When an issue is not assigned and a user in group customer makes a transition, then auto-assign the issue to a random user in the appropriate category to ensure the consistency and productivity of your team


Issue event

Create a new rule and name it appropriately.

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

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.labels} = "Add The proper label of your issue" 

Assign issue

Next to the boolean condition click on AddAction→ Assign issue

Select user in project role as Assignee and choose the appropriate project role that you chose in your boolean condition (e.g. Administrators or Developers).

Enable the rule by clicking on the Enable button → 


Screencast

No screencast available at the moment.


Import the example

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

JSON

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": "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.labels} = \"Developing\" ",
"expressionParsingMode": "logical",
"actingUser": "field_00020"
},
"children": [
{
"sequence": 0,
"type": "ASSIGN_ISSUE",
"ruleEntityType": "ACTION",
"configuration": {
"refs": [
"issue",
"project",
"system",
"trigger",
"trigger.issue",
"trigger.parent"
],
"assignMode": "user",
"user": "admin",
"mode": "projectRoleRandom",
"sendMail": "true",
"actingUser": "field_00020"
},
"children": null,
"hasChildren": false
}
],
"hasChildren": true
}
],
"hasChildren": true
}



If you still have questions, feel free to refer to our support team.