• Approval
  • Customer
  • Customer Request
  • Customer Transition
  • Jira Service Management Application
  • Organization
  • Organization Service Desk
  • Portals
  • Queue
  • Queue Settings
  • Request Attachment
  • Request Type
  • Request Type Permissions
  • Service Desk
  • Service Desk Customer
  • application-properties
  • applicationrole
  • attachment
  • avatar
  • cluster
  • comment
  • component
  • configuration
  • customFieldOption
  • customFields
  • dashboard
  • email-templates
  • field
  • filter
  • group
  • groups
  • groupuserpicker
  • index
  • index-snapshot
  • issue
  • issueLinkType
  • issuesecurityschemes
  • issuetype
  • issuetypescheme
  • jql
  • licenseValidator
  • monitoring
  • mypermissions
  • mypreferences
  • myself
  • notificationscheme
  • password
  • permissions
  • permissionscheme
  • priority
  • priorityschemes
  • project
  • projectCategory
  • projects
  • projectvalidate
  • reindex
  • resolution
  • role
  • screens
  • securitylevel
  • serverInfo
  • session
  • settings
  • status
  • statuscategory
  • terminology
  • universal_avatar
  • upgrade
  • user
  • version
  • websudo
  • workflow
  • workflowscheme
  • worklog
  • Assets - AQL
  • Assets - Analytics
  • Assets - Archived Objects
  • Assets - Attachments
  • Assets - Comments
  • Assets - Icons
  • Assets - Index Configuration
  • Assets - Object
  • Assets - Object Archive
  • Assets - Object Attribute
  • Assets - Object Connected Tickets
  • Assets - Object Restore
  • Assets - Object Schema
  • Assets - Object Type
  • Assets - Object Type Attribute
  • Assets - Progress
  • Assets - QR Code
  • Assets - Status Types
Server
Jira Service Management / Reference / REST API

Assets - Object Schema

Postman Collection
OpenAPI
POST

Create object schema

Create a new object schema.

Request

Request bodyapplication/json

The object schema to create.

name

string

Required
objectSchemaKey

string

Required
description

string

Responses

Returns the newly created object schema.

application/json

ObjectSchemaEntry
POST/assets/1.0/objectschema/create
1 2 3 4 5 6 7 8 9 curl --request POST \ --url 'http://{baseurl}/rest/assets/1.0/objectschema/create' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "objectSchemaKey": "<string>", "description": "<string>" }'
201Response
1 2 3 4 5 6 7 8 9 10 11 12 { "id": 2154, "name": "<string>", "objectSchemaKey": "<string>", "status": "<string>", "description": "<string>", "created": "<string>", "updated": "<string>", "objectCount": 2154, "archivedObjectCount": 2154, "objectTypeCount": 2154 }
GET

Get object schema

Get a single object schema.

Request

Path parameters

id

string

Required

Responses

Returns the object schema.

application/json

ObjectSchemaEntry
GET/assets/1.0/objectschema/{id}
1 2 3 curl --request GET \ --url 'http://{baseurl}/rest/assets/1.0/objectschema/{id}' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 { "id": 2154, "name": "<string>", "objectSchemaKey": "<string>", "status": "<string>", "description": "<string>", "created": "<string>", "updated": "<string>", "objectCount": 2154, "archivedObjectCount": 2154, "objectTypeCount": 2154 }
PUT

Update object schema

Update an object schema.

Request

Path parameters