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

How to remove space label set via remote API?

Juha Mustonen September 15, 2013

By using remote API (XML-RPC in this case), I'm able to set label to a space. However, for some reason these labels are not shown in space admin user interface, making it impossible to remove the label. Haven't tested removing the label via API.

Any reason for such a behaviour? I've also seen some notes about the label namespaces - should they be used (like: ns:label)? I'm currently setting simple labels like 'active'.

As a side note: I'm able to set and see the page labels.

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Juha Mustonen September 15, 2014

When setting labels via remote API they need to be prefixed with team:

See related question: https://answers.atlassian.com/questions/324332

 

0 votes
Michael Knight
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 4, 2013

Space labels are called "Space Categories" in the UI: https://confluence.atlassian.com/display/DOC/Using+Labels+to+Categorise+Spaces

You can edit them from the 'Overview' page in the Space Admin.

Juha Mustonen November 5, 2013

Thanks for you response - then I was looking the right place/UI. The problem, however, is that the set label is not shown in the UI. On the other hand I'm pretty confident it is there as the space gets listed based on defined label.

We're using the on-demand instance. Haven't tested yet what is the outcome when the space is removed via API.

Juha Mustonen August 10, 2014

I've now confirmed that the label can be removed via API. And that the label is shown in Content by label macros, the issue is only(?) in space overview UI.

https://answers.atlassian.com/questions/324332/space-label-category-is-not-shown-in-ui-when-set-via-api

0 votes
Juha Mustonen November 3, 2013

No one else having a same problem? So how do you set and remove labels from space via UI?

TAGS
AUG Leaders

Atlassian Community Events