• 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 Type

Postman Collection
OpenAPI
POST

Change object type position

Change the position of an object type in the object type hierarchy tree.

Request

Path parameters

affectedId

string

Required

Request bodyapplication/json

The new position of the object type.

toObjectTypeId

integer

position

integer

Responses

Returns the updated object type.

application/json

ObjectTypeEntry
POST/assets/1.0/objecttype/{affectedId}/position
1 2 3 4 5 6 7 8 curl --request POST \ --url 'http://{baseurl}/rest/assets/1.0/objecttype/{affectedId}/position' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "toObjectTypeId": 2154, "position": 2154 }'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 { "id": 2154, "name": "<string>", "type": 2154, "description": "<string>", "icon": { "expand": "<string>", "project": "<string>", "position": "<string>", "after": "<string>", "id": 2154, "name": "<string>", "url16": "<string>", "url48": "<string>" }, "position": 2154, "created": "<string>", "updated": "<string>", "objectCount": 2154, "parentObjectTypeId": 2154, "objectSchemaId": 2154, "inherited": true, "abstractObjectType": true, "parentObjectTypeInherited": true }
POST

Create object type

Create a new object type.

Request

Request bodyapplication/json

The new object type to create.

id

integer

name

string

description

string

iconId

integer

objectSchemaId

integer

parentObjectTypeId

integer

inherited

boolean

abstractObjectType

boolean

Responses

Returns the created object type.

application/json

ObjectTypeEntry