Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting "issue type is required" error in Postman

Spandana Gudi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 29, 2020

While trying to create an issue in JIRA using POST request in POSTMAN tool it is giving an error as response.

{    "errorMessages": [],    "errors": {        "issuetype""issue type is required"    }}

Given request body as per Atlassian doc but still facing the same issue.

Post Request Body:

{
"fields" :{
"project" :
{
"key" :"RES"
},
"summary" :"Creditcard Defect",
"description":"Creating my first bug",
"issue type" : {
"name" : "bug"
}
}
}

 

Can someone help in solving this issue..

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 1, 2020

Hello @Spandana Gudi ,

The formatting looks good and the error is simply noting that the issue type you have entered does not exist and is incorrect. 

The value for the issue type "name" value is going to be case sensitive.  The default casing for a bug is going to have a capitalized "B" as "Bug". 

Can you try again with the following case change on Bug and I believe you will be all set:

{
"fields": {
"project":
{
"key": "RES"
},
"summary": "Creditcard Defect",
"description": "Creating my first bug",
"issuetype": {
"name": "Bug"
}
}
}

Regards,
Earl

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events