On this page
Use case
When an issue is not assigned and a transition is executed by a user in group customer, then auto-assign the issue to a random user in a specific project role to ensure the consistency and productivity of your team.
Issue transitioned 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:
isInGroup(%{system.currentUser}, "customer") and %{trigger.issue.assignee} = null
This way the assignee will only be updated, if the current user (so the user who executed the transition) is in group customer and the assignee is empty.
Assign issue
Next to the boolean condition click on Add → Action→ 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
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.
Related examples
If you still have questions, feel free to refer to our support team.