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

Get metadata for issue types used for creating issues

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/{issueTypeId}
Authorization
AuthorizationBasic auth · headerrequired

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

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

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

Path parameters
issueTypeIdstringrequired

Issue type id

projectIdOrKeystringrequired

Project id or key

Query parameters
maxResultsstring

How many results on the page should be included

startAtstring

The page offset

Responses
200

Returns the metadata for issue types used for creating issues.

allowedValuesobject[]
autoCompleteUrlstring
defaultValueobject
fieldIdstring
hasDefaultValueboolean
namestring
operationsstring[]
requiredboolean
schemaJsonTypeBean
Show properties
customstring
customIdinteger<int64>
itemsstring
systemstring
typestring
400

Returned if the user does not have permission to view the requested project or project doesn't exist.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/issue/createmeta/string/issuetypes/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "allowedValues": [
    "red",
    "blue",
    "default value"
  ],
  "autoCompleteUrl": "/rest/api/2/customFieldOption/10000",
  "defaultValue": {},
  "fieldId": "customfield_10000",
  "hasDefaultValue": true,
  "name": "My Multi Select",
  "operations": [
    "set",
    "add"
  ],
  "required": true,
  "schema": {}
}

Was this page helpful?