Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We hope to provide Workflow Validation, Condition and Post Function in the near future. In the meantime please use the following workarounds to add and delete using Jira Automation

Add & Remove Label Manager items through a workflow transition without overwriting existing label

Example Usecase:

When the status changes to from status “In Progress” to Done add the Label IN-UAT and remove the Label UAT-Done for your field Label .

Trigger: Issue Transitioned → Select From And/Or To Status

...

Edit Issue: New Action → Edit Issue

Use ‘More options

...

 
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:

    1. Add the label “100% worked”.

    2. Clear the existing data in the “Progressing” field.

Steps to Create the Automation Rule

  1. Navigate to Automation Settings

    • Click on Project settings → Click on Automation → Click Create rule.

2025-02-13 14 00 42-20250213-130105.pngImage Added

  1. Select the Trigger

  • Choose Issue Transitioned as the trigger.

  • Set From: In ProgressTo: Done, then click Next.

    2025-02-13 14 02 39-20250213-130259-20250214-121830.pngImage Added
  1. Add an Action

  • Click Add an action.

  • Select Edit Issue.

...

  1. 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":

...

Code Block
{
    "update": {
        "customfield_10042Progressing": [
            {
                "removeset": "IN-UAT"null
            },
            {
                "add": "UAT-Done100% worked"
            }
        ]
    }
}

Delete Label Manager items through a workflow transition

Need help?

...


  • Click update

...

Testing the Rule

  1. Create an issue and set any value in the Colored Label field "Progressing" Then Set the status to “In progress” .

    2025-02-13 14 09 57-20250213-131016-20250214-121948.pngImage Added

    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!