mutation ConfluenceLegacy_createSpace{
confluenceLegacy_createSpace (
input: {
additionalSettings: {
jiraProject: {
jiraProjectKey: "DOAGRAPQLT"
jiraProjectName: "GraphQL Test"
jiraServerId: "ari:cloud:jira:<cloudID>"
}
spaceTypeSettings: {
enabledContentTypes: {
isBlogsEnabled: true
isDatabasesEnabled: true
isEmbedsEnabled: true
isFoldersEnabled: true
isLivePagesEnabled: true
isWhiteboardsEnabled: true
}
enabledFeatures: {
isAnalyticsEnabled: true
isAppsEnabled: true
isAutomationEnabled: true
isCalendarsEnabled: true
isContentManagerEnabled: true
isQuestionsEnabled: false
isShortcutsEnabled: true
}
}
}
copySpacePermissionsFromSpaceKey: "TEMPLATE"
initialPermissionOption: COPY_FROM_SPACE
spaceKey: "DOAGRAPQLT"
spaceName: "GraphQL Test"
spaceTemplateKey: "TEMPLATE"
}
)
@optIn(to: "ConfluenceLegacyRN") {
containsExternalCollaborators
creatorAccountId
dataClassificationTags
defaultClassificationLevelId
externalCollaboratorAndGroupCount
externalCollaboratorCount
hasDefaultClassificationLevel
homepageId
id
isExportEnabled
key
name
status
totalBlogpostsWithoutClassificationLevelOverride
totalContentWithoutClassificationLevelOverride
totalPagesWithoutClassificationLevelOverride
type
admins(accountType: CUSTOMER) {
displayName
operations {
operation
targetType
links {
base
context
}
}
permissionType
}
}
}
But I have an error, the cloud id is missing
{
"errors": [
{
"message": "Cannot route request: cannot extract cloud id",
"locations": [],
"extensions": {
"service": "confluence_legacy",
"errorSource": "GRAPHQL_GATEWAY",
"statusCode": 400,
"agg": {
"severity": "NORMAL",
"ugcPiiSafe": true
},
"classification": "CloudIdIsMissingException"
}
}
],
"data": {
"confluenceLegacy_createSpace": null
},
"extensions": {
"gateway": {
"request_id": "efc8ca8d15f541c0a28e0359ef62eb04",
"crossRegion": false,
"edgeCrossRegion": false
}
}
}