Automatically Assign Issues Based on Labels
Michael Simmons avatar
Written by Michael Simmons
Updated over a week ago

Objective

This runbook covers how to automate the assignment of Jira issues to specific users based on issue labels.

Requirements

  1. Administrative access to the Jira project.

Overview

  1. Create a mapping of labels to users (e.g., "API" -> "John Smith").

  2. Create necessary labels in the project.

  3. Navigate to Project SettingsAutomation, click Create rule.

  4. Set up trigger:

    1. Choose Field value changed.

    2. Select "Labels" for Fields to monitor for changes.

    3. Choose "Any changes to the field value" for Change type.

    4. Select "All issue operations" for For.

  5. Configure conditions:

    1. Add Issue fields condition: "Assignee" "is empty".

    2. Add Issue fields condition: "Labels" "contains any of" "label1" "label2".

  6. Define action:

    1. Select Assign issue.

    2. Choose "Specify user" for Assign the issue to.

    3. Select the appropriate user for Select a user.

  7. Publish the rule.

  8. Copy the rule for other label-assignee pairs using the three-dot menu.

Validation

Create a new Jira issue with a rule-defined label and confirm the issue is auto-assigned to the corresponding user. If not, review the automation rules in Project SettingsAutomation.

Guide

1. Click on Project settings

Click on Project settings

2. Click on Automation

Click on Automation

3. Click on Create rule

Click on Create rule

4. Click on Field value changed…

Click on Field value changed…

5. Click on Fields to monitor for changes

Click on Fields to monitor for changes

6. Type "labels"

Type "labels"

7. Click on Labels

Click on Labels

8. Click on Save

Click on Save

9. Click on New condition…

Click on New condition…

10. Click on Issue fields condition…

Click on Issue fields condition…

11. Click on Field

Click on Field

12. Type "labels"

Type "labels"

13. Click on Labels

Click on Labels

14. Click on Value

Click on Value

15. Add all relevant labels to assign to the desired user or user group

Add all relevant labels to assign to the desired user or user group

16. Click on Save

Click on Save

17. Click on New action…

Click on New action…

18. Type "assign"

Type "assign"

19. Click on Assign issue…

Click on Assign issue…

20. Click on Assign the issue to

Click on Assign the issue to

21. Click on Specify user

Click on Specify user

22. Click on the user to assign issues with these specific labels

Click on the user to assign issues with these specific labels

23. Click on Save

Click on Save

24. Name the rule

Name the rule

25. Click on Turn it on 🎉

Click on Turn it on 🎉

Did this answer your question?