Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Create an issue type from JSON representation

Creates an issue type from a JSON representation and adds the issue newly created issue type to the default issue type scheme.

POST/api/2/issuetype
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Request body
requiredapplication/json

All information about the issue type.

descriptionstring
namestring
typestring
Allowed:subtaskstandard
Responses
201

The new issue type has been created.

400

Returned if the request is invalid. This happens when the name is invalid or issue type is subtask on instance which has subtasks disabled.

401

Returned if the calling user is not authenticated.

403

Returned if the calling user does not have permission to administer Jira.

409

Returned if there already exists an issue type with the specified name.

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/api/2/issuetype' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "description": "string",
  "name": "string",
  "type": "subtask"
}'
Response
The new issue type has been created.

Was this page helpful?