Create a new object schema

post/objectschema/create

Request

  • Base URL
    https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/workspaceId/v1
  • URL
    https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/workspaceId/v1/objectschema/create
  • Auth
    • OAuth 2
      Authorization code: https://auth.atlassian.com/authorize
      Token URL: https://auth.atlassian.com/oauth/token scopes: write:cmdb-schema:jira
    • or HTTP bearer

Request body

namestring required
displayNamestring
objectSchemaKeystring required
descriptionstring

Response

workspaceIdstring required
globalIdstring required
idstring required
namestring required
displayNamestring
objectSchemaKeystring required
descriptionstring
statusstring

Always 'Ok'

createdstring date-time required
updatedstring date-time required
objectCountinteger required
objectTypeCountinteger required
canManageboolean

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status