Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Automation: Delete spezific labels when the sprint starts in subtasks

Christian Fischer
Contributor
November 23, 2023

When we start a sprint, then we delete manualy the label "NEW" in each existing subtask of this sprint. We use this label for our burndowndiagramm to count the new created subtasks during a sprint.

How can I automate that, that this and only this label will be deleted in each subtask. Other labels must no be changed or deleted.

1 answer

1 accepted

3 votes
Answer accepted
Ste Wright
Community Champion
November 23, 2023

Hi @Christian Fischer 

This rule works in Cloud; I can't be sure it works in Server but give it a go and let us know if there's anything which isn't available:

  • Trigger: Sprint Started
  • Branch: Related Issues
    • Type = Issues in the sprint
      • Branch-Condition: Issue Fields Condition
        • Field = Issue Type
        • Condition = equals
        • Value = Sub-task
      • Branch-Condition: Issue Fields Condition
        • Field = Labels
        • Condition = contains any of
        • Value = NEW
      • Branch-Action: Edit Issue
        • Field = Labels
          • Value = ADDREMOVE > NEW

The option ADDREMOVE should be available through breadcrumbs (...) or a similar option menu in line with the field within the Action.

Select ADDREMOVE from the list, and enter NEW into "Values to remove"

---

Let us know if this works!

Ste

Christian Fischer
Contributor
November 23, 2023

Yes this works!

THANKS A LOT!

Like Ste Wright likes this

Suggest an answer

Log in or Sign up to answer