curl --location --request POST 'http://jira.local:8080/jira/rest//rest/api/3/issuetype' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "description",
"name": "name",
"type": "standard"
}'
{
"avatarId": 0,
"description": "string",
"entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",
"hierarchyLevel": 0,
"iconUrl": "string",
"id": "string",
"name": "string",
"scope": {
"project": {
"avatarUrls": {
"16x16": "http://example.com",
"24x24": "http://example.com",
"32x32": "http://example.com",
"48x48": "http://example.com"
},
"id": "string",
"key": "string",
"name": "string",
"projectCategory": {
"description": "string",
"id": "string",
"name": "string",
"self": "string"
},
"projectTypeKey": "software",
"self": "string",
"simplified": true
},
"type": "PROJECT"
},
"self": "string",
"subtask": true
}
-1
for Subtask.0
for Base.0
.hierarchyLevel
instead. See the deprecation notice for details.subtype
or standard
. Defaults to standard
.