I tried to create a new Issue into a service desk project using the following API on my test instance on my laptop:
http://localhost:80/rest/api/2/issue/
Data:
{
"fields": {
"project":
{
"key": "TEST"
},
"summary": "REST ye merry gentlemen.",
"description": "Creating of an issue using project keys and issue type names using the REST API",
"issuetype": {
"name": "Task"
}
}
}
This would keep returning the error:
{"errorMessages":[],"errors":{"project":"project is required"}}
I finally tried it on a different project which was a "business" project and it worked immediately.
Does this mean that the JIRA API is incompatible with ServiceDesk projects?