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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I bulk change a label in the Add a label macro?


We have over 300 pages with the Add a label macro in each page. The macro has a specific expire label that notifies our page owner/modifier that their page has been expired.

For example, each page has the label, "expire-single-20/05/31". All these pages are now expired. What I want to be able to do is in bulk remove that specific label from the add a label macro on each page and add a new one for next year, "expire-single-21/05/31"

Is this possible using scriptrunner console?

I was able to use the built in script runner template to bulk remove labels and add the,. however, this does not help because once the page is accessed and the Add a label macro puts the old label back on the page. For right now I have to go in and manually change the Add a label macro on each page. in Order for the old label to not reappear.

1 answer

Hi William,

Have you tried using Scriptrunner's Bulk Add/Remove Labels on One or More Pages built in script? Just use CQL search to limit it to the pages with old label, add the new label, CQL search for the new label, and then bulk remove the old label. Cheers!

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events