Automate Your Colored Label Fields with Jira Automation š¤
Tired of manually updating labels in Jira? With Automation Rules, you can dynamically manage and update your Colored Label Fields based on issue transitions, field changes, or other triggers.
-
Letās explore how to set this up with a practical example.
Example Use Case: Automation with Colored Label Field
Scenario
-
When an issueās status changes from āIn Progressā to āDoneā, We want to:
-
Add the label ā100% workedā.
-
Clear the existing data in the āProgressingā field.
-
Steps to Create the Automation Rule
-
Navigate to Automation Settings
-
Click on Project settings ā Click on Automation ā Click Create rule.
-
-
Select the Trigger
-
Choose Issue Transitioned as the trigger.
-
Set From: In Progress ā To: Done, then click Next.
-
Add an Action
-
Click Add an action.
-
Select Edit Issue.
-
Modify the Field Data
-
Click Use āMore optionsā.
-
Add the following JSON code into the field to replace the data in Progressing with "100% worked":
{
"update": {
"Progressing": [
{
"set": null
},
{
"add": "100% worked"
}
]
}
}
-
Click update
Testing the Rule
-
Create an issue and set any value in the Colored Label field "Progressing" Then Set the status to āIn progressā .
2. Change the status of the issue to Done.
-
Once the issue is marked Done, the Progressing field will be updated to "100% worked".
Need help?
š” We're here for you! If you have questions or need to report a bug, visit our Help Center and raise a support ticket. Our team is ready to assist you!