I am creating a lot of spaces by REST API and I would like to assign them a category, too. However I couldn't find the parameter to do so.
(Using Confluence V6.6.1)
Although it's not exactly a REST API, you could post to
json-rpc/confluenceservice-v2/addLabelByNameToSpace
with the following data:
["team:<labelname>", "<spacekey>"]
and fill in <labelname> (aka space category) and <spacekey> respectively.
Useful workaround. Would be nicer to have it formally in the API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.