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

Set a Label using a Button Edited


I want to give users the possibility to set an explicit label. I introduced this by using css to hide the label overview and create 2 buttons (to add and remove). Can you give me a hint how to do this best?

Adding would have worked like this: + "/json/addlabelactivity.action", {"entityIdString": "$", "labelString": label, "atl_token": jQuery("#atlassian-token").attr("content") }, function() {

However, removing via this way (removelabelactivity.action) does not work.
i am using Confluence 7.2.

Greetings, Roland


2 answers

If you have script runner plugin, you can achieve this by the combination of Script Fragment and REST endpoint. 

Unfortunately I am not using the script runner plugin. I hope for alternative ideas ;-)

Hello Christian,

thanks for your information. Yes, but it only works with addlabelactivity.action, remove.labelactivity.action don't work in my confluence.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,411 views 6 6
Join discussion

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