Add Issue Type

Adds new Issue Type to the project.

Role

Administrator 
Normal User 

Method

POST 

URL

/api/v2/projects/:projectIdOrKey/issueTypes 

URL parameters

Parameter Name Type Description
projectIdOrKey String Project ID or Project Key

Form parameters

Content-Type:application/x-www-form-urlencoded 
Parameter Name Type Description
name (Required) String Issue Type name
color (Required) String Background color
templateSummary String Subject
templateDescription String Description

Response example

Status Line / Response Header

HTTP/1.1 200 OK 
Content-Type:application/json;charset=utf-8 

Response Body

{ 
    "id": 1, 
    "projectId": 1, 
    "name": "Bug", 
    "color": "#990000", 
    "displayOrder": 0,
    "templateSummary": "Subject",
    "templateDescription": "Description"
}