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..
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.