I'm trying to create issues with Jira's REST API, but I'm not getting it.
{"errorMessages":[],"errors":{"summary":"Field 'summary' cannot be set. It is not on the appropriate screen, or unknown.","parent":"Could not find issue by id or key.","description":"Field 'description' cannot be set. It is not on the appropriate screen, or unknown."}}
I get the following message:
Is my JSON correct?
What's my mistake?
Your JSON should be something like this:
{
"fields": {
"project":
{
"id": "10000"
},
"reporter": {
"name": "foo"
},
"summary": "Main order flow broken",
"description": "Order entry fails when selecting supplier",
"issuetype": {
"id": "10000"
}
}
}
Please look at the following links:
Jira Server REST API (All methods)
Jira Server REST API (Create issue example)
Regards
Lasse Langhorn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.