---
ai:
  exclude: true
search:
  tags:
    - issue
    - GET
seo:
  description: >-
    Returns the metadata… Reference for the GET
    /api/2/issue/createmeta/{projectIdOrKey}/issuetypes endpoint in the Jira
    Software Data Center REST API Reference.
sidebar:
  label: Get metadata for project issue types
  badge: GET
title: Get metadata for project issue types
type: openapi-operation
---
Returns the metadata for issue types used for creating issues. Data will not be returned if the user does not have permission to create issues in that project.

`GET /api/2/issue/createmeta/{projectIdOrKey}/issuetypes`

**Responses**

- `200` — Returns the metadata for issue types used for creating issues.
- `400` — Returned if the user does not have permission to view the requested project or project doesn't exist.

Response example, 200:

```json
{
  "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
}
```
