I'm creating a new Confluence Space via the Rest API (following the example in the documentation).
I posted:
{ "key":"TST2", "name":"Test Space 2", "type":"global", "description": { "plain": { "value": "Test Space 2", "representation": "plain" } } }
Problem is the new space doesn't show up in the Space Directory. I can't find anything datawise that differentiates this space from a manually created one.
Any ideas?
Community moderators have prevented the ability to post new answers.
My guess is that it could be because there are no permissions assigned to the space. Therefore it would only be visible by a member of the confluence-administrators group (until the proper permissions are assigned).
I've got two suggestions. One is that there may be a "private" field that is getting automatically set to true. ("Private" is a check box when you create a space.) That seems unlikely, but possible. More likely, I think, is that this is an indexing problem, so that the new space isn't being added to the search index. (A surprising number of things in Confluence, perhaps including the space directory, operate out of the search index, and many times the solution to problems involves reindexing.)
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.