Hello,
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:
jQuery.post(contextPath + "/json/addlabelactivity.action", {"entityIdString": "$content.id", "labelString": label, "atl_token": jQuery("#atlassian-token").attr("content") }, function() {
jQuery("#label-to-add").val("");
However, removing via this way (removelabelactivity.action) does not work.
i am using Confluence 7.2.
Greetings, Roland
Did you tried it via User Macro?
Hello Christian,
thanks for your information. Yes, but it only works with addlabelactivity.action, remove.labelactivity.action don't work in my confluence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have script runner plugin, you can achieve this by the combination of Script Fragment and REST endpoint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.