Objective
This runbook covers how to automate setting components on Jira issues to specific users based on issue labels.
Requirements
Administrative access to the Jira project.
Overview
Create a mapping of labels to components (e.g., "Salesforce integration" -> "Integration").
Create necessary labels and/or components in the project.
Navigate to
Project Settings
→Automation
, clickCreate rule
.Set up trigger:
Choose Field value changed.
Select "Labels" for Fields to monitor for changes.
Choose "Any changes to the field value" for Change type.
Select "All issue operations" for For.
Configure conditions:
Add Issue fields condition: "Labels" "contains any of" "label1" "label2". e.g. "Salesforce Integration"
Define action:
Add Edit issue
Set fields to set... as "Components"
Add Components to be applied when the label conditions are met. e.g. "Integration"
Publish the rule.
Copy the rule for other label(s)-component(s) rules using the three-dot menu.
Validation
Create a new Jira issue with a rule-defined label and confirm the issue is auto-edited to include the corresponding component(s). If not, review the automation rules in Project Settings
→ Automation
.