Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I write an automation script to clear all instances of a particular label?

I created a swimlane named DailyReports. I created a label named DailyReport. The filter for the swimlane DailyReports selects all items with the label DailyReport. This pops all of the items we want to discuss in our daily meeting up to one swimlane, making it very easy to see what is on the agenda for discussion.

After we conclude our daily meeting, we want to clear all these labels. Doing this manually and individually is a bit cumbersome. I'd like to use some sort of automation script to remove all of the DailyReport labels.

Is this possible? If so, can you provide some guidance on how to do this?

Thank you!

2 answers

1 accepted

0 votes
Answer accepted
Alexis Robert Community Leader Feb 01, 2021

Hi @Yossi Geretz , 


you can create a manual rule with a "Branch rule" to remove the label based on a JQL query : 


Screenshot 2021-02-01 at 21.02.44.png

The action is "Add/Remove values" and choose "Remove" for the DailyReport label.

Let me know if this helps, 



Hi @Alexis Robert ,

Thank you for your reply. Apologies if I'm not seeing something which is right in front of my nose. You say 'you can create a manual rule' but I simply cannot find where I'm supposed to do this from. I'm looking at the documentation on this page:

  1. Navigate to your Automation settings and select Create rule in the top-right corner.

Where do I find Automation settings?

I have seen this page:

As you can see, I am logged in to my Atlassian account.

Get Automation.jpg

If I click on the [Get it free] button it prompts me to claim a new Atlassian site.


That's not what I want to do at all. I want to use automation with the site I am already using for my HelpDesk and software project management.

BTW, we are paying for the Helpdesk, but so far we are using a free account for our small software development group. Do I need to upgrade to a paid account in order to use automation?

Thank you for your advice!

Thanks @Alexis Robert . I finally got this to work.

I was able to find Automation by hitting period (.) and typing 'Automation' into the search box. Now I see where to find this - Project Settings | Automation (both of these from the left menu panel). I have a couple of follow-up questions.

  1. I can see how this is triggered when I am inside of an issue. Can this be triggered from any other location outside of any particular issue?
  2. When I trigger this rule from within an issue, I do see the label being cleared from all issues except for the issue from which the rule was triggered.

Thank you for your advice!

Alexis Robert Community Leader Feb 02, 2021

Hi @Yossi Geretz , 


yes you can trigger the rule from anywhere in Jira. When I tried it on my Jira instance, all labels were cleared so it's weird that's not your case. Are you sure the label was exactly the same ? 

@Alexis Robert How do I trigger the rule from outside of an item card? Here's the only place I can see from where I can run this:

Run Rule.jpg

This is from within any item card. How do I create a menu or shortcut elsewhere in the interface from which I can fire this rule?


Alexis Robert Community Leader Feb 02, 2021

Hi @Yossi Geretz , 


I think this is the only as per the documentation :





If you need to run Automation rules against multiple issues that matches a JQL, you can use the JQL Scheduled Trigger and supply the JQL to that rule. You can then remove the labels on all issues that match the JQL.

There's a handy "Run rule" button on the top right of the scheduled rule so you can run it more easily

Suggest an answer

Log in or Sign up to answer
Site Admin

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you