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

Postman Collection
OpenAPI
POST

Create object attribute

Create a new attribute for a given object.

Request

Query parameters

includeTypeAttribute

string

Request bodyapplication/json

The object attribute to create

objectId

integer

objectTypeAttributeId

integer

objectAttributeValues

array<ObjectAttributeValueInEntry>

Required
operationType

integer

Responses

Creates a new attribute for a given object, and returns the attribute for the object.

application/json

ObjectAttributeEntry
POST/assets/1.0/objectattribute/create
1 2 3 4 5 6 7 8 9 10 11 12 13 14 curl --request POST \ --url 'http://{baseurl}/rest/assets/1.0/objectattribute/create' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "objectId": 2154, "objectTypeAttributeId": 2154, "objectAttributeValues": [ { "value": "<string>" } ], "operationType": 2154 }'
201Response
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 { "id": 2154, "objectTypeAttribute": { "id": 2154, "objectType": { "id": 2154, "name": "<string>", "type": 2154, "description": "<string>", "icon": {}, "position": 2154, "created": "<string>", "updated": "<string>", "objectCount": 2154, "parentObjectTypeId": 2154, "objectSchemaId": 2154, "inherited": true, "abstractObjectType": true, "parentObjectTypeInherited": true }, "name": "<string>", "label": true, "type": 2154, "description": "<string>", "defaultType": { "id": 2154, "name": "<string>" }, "typeValue": "<string>", "typeValueMulti": [ "<string>" ], "additionalValue": "<string>", "referenceType": { "expand": "<string>", "project": "<string>", "position": "<string>", "after": "<string>", "id": 2154, "name": "<string>", "description": "<string>", "color": "<string>", "url16": "<string>", "removable": true, "objectSchemaId": 2154 }, "referenceObjectTypeId": 2154, "referenceObjectType": { "id": 2154, "name": "<string>", "type": 2154, "description": "<string>", "icon": {}, "position": 2154, "created": "<string>", "updated": "<string>", "objectCount": 2154, "parentObjectTypeId": 2154, "objectSchemaId": 2154, "inherited": true, "abstractObjectType": true, "parentObjectTypeInherited": true }, "confluenceTypeValue": { "id": "<string>", "name": "<string>", "uri": "<string>", "error": true }, "confluenceAddValue": { "key": "<string>", "name": "<string>", "error": true }, "versionTypeValues": [ { "avatarUrl": "<string>", "id": 2154, "name": "<string>", "key": "<string>", "url": "<string>" } ], "editable": true, "system": true, "sortable": true, "summable": true, "indexed": true, "minimumCardinality": 2154, "maximumCardinality": 2154, "suffix": "<string>", "removable": true, "objectAttributeExists": true, "hidden": true, "includeChildObjectTypes": true, "uniqueAttribute": true, "regexValidation": "<string>", "qlQuery": "<string>", "options": "<string>", "position": 2154, "iql": "<string>", "versionTypeValue": { "avatarUrl": "<string>", "id": 2154, "name": "<string>", "key": "<string>", "url": "<string>" } }, "objectTypeAttributeId": 2154, "objectAttributeValues": [ { "referencedObject": { "id": 2154, "label": "<string>", "objectKey": "<string>", "avatar": {}, "objectType": {}, "archivedDate": "<string>", "archivedBy": {}, "created": "<string>", "updated": "<string>", "hasAvatar": true, "timestamp": 2154, "attributes": [], "extendedInfo": {}, "get_links": {}, "name": "<string>", "archived": true }, "user": { "avatarUrl": "<string>", "displayName": "<string>", "name": "<string>", "key": "<string>", "html": "<string>", "renderedLink": "<string>", "isDeleted": true, "lastSeenVersion": "<string>" }, "group": { "avatarUrl": "<string>", "name": "<string>" }, "confluencePage": { "id": "<string>", "title": "<string>", "url": "<string>" }, "version": { "avatarUrl": "<string>", "name": "<string>", "id": 2154, "url": "<string>" }, "project": { "avatarUrl": "<string>", "id": 2154, "name": "<string>", "key": "<string>", "url": "<string>" }, "status": { "id": 2154, "name": "<string>", "description": "<string>", "category": 2154, "objectSchemaId": 2154 }, "value": {}, "additionalValue": "<string>", "displayValue": {}, "searchValue": {}, "referencedType": true } ], "objectId": 2154 }
GET

Get object attributeDeprecated