---
ai:
  exclude: true
search:
  tags:
    - issuetype
    - POST
seo:
  description: >-
    Creates an issue type from a JSON representation and… Reference for the POST
    /api/2/issuetype endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Create an issue type from JSON representation
  badge: POST
title: Create an issue type from JSON representation
type: openapi-operation
---
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`

**Request body** (`application/json`, required)

All information about the issue type.

- `description` (string)
- `name` (string)
- `type` (string)

Request body example:

```json
{
  "description": "string",
  "name": "string",
  "type": "subtask"
}
```

**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.
