---
ai:
  exclude: true
search:
  tags:
    - issuetypescheme
    - POST
seo:
  description: >-
    Creates an issue type scheme from a JSON… Reference for the POST
    /api/2/issuetypescheme endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Create an issue type scheme from JSON representation
  badge: POST
title: Create an issue type scheme from JSON representation
type: openapi-operation
---
Creates an issue type scheme from a JSON representation

`POST /api/2/issuetypescheme`

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

Issue type scheme creation details.

- `defaultIssueTypeId` (string)
- `description` (string)
- `issueTypeIDs` (string[])
- `issueTypeIds` (string[])
- `name` (string)

Request body example:

```json
{
  "defaultIssueTypeId": "3",
  "description": "some new description of the scheme",
  "issueTypeIDs": [
    "string"
  ],
  "issueTypeIds": [
    "1",
    "4",
    "3"
  ],
  "name": "new name"
}
```

**Responses**

- `200` — Returns a JSON representation of the newly created IssueTypeScheme if successful.
- `400` — Returned if the request is invalid.
- `401` — Returned if the calling user is not authenticated.
- `403` — Returned if the calling user does not have permission to administer Jira.

Response example, 200:

```json
{
  "defaultIssueType": {
    "avatarId": 10002,
    "description": "A problem which impairs or prevents the functions of the product.",
    "iconUrl": "http://www.example.com/jira/images/icons/issuetypes/bug.png",
    "id": "1",
    "name": "Bug",
    "self": "http://www.example.com/jira/rest/api/2/issuetype/1",
    "subtask": false
  },
  "description": "A brief explanation of this issue type scheme.",
  "expand": "issueTypes",
  "id": "10100",
  "issueTypes": [
    {
      "avatarId": 10002,
      "description": "A problem which impairs or prevents the functions of the product.",
      "iconUrl": "http://www.example.com/jira/images/icons/issuetypes/bug.png",
      "id": "1",
      "name": "Bug",
      "self": "http://www.example.com/jira/rest/api/2/issuetype/1",
      "subtask": false
    }
  ],
  "name": "Some grouping of issue types for the greater good.",
  "self": "http://localhost:8090/jira/rest/api/2/issuetypescheme/10100"
}
```
