Hi,
I am simply trying to create a Jira issue from my app (by using the app’s account, not by acting as a Jira user) and it does not work.
POST /rest/api/3/issue/
with this JSON body
{“fields”:
{“summary”:“This is my issue summary”,
“issuetype”:{“id”:“10002”},
“project”:{“id”:“10000”}}
}
The error I get is the following:
Received http error code 400 when accessing the JIRA system. JIRA server response: {“errorMessages”:[],“errors”:{“summary”:“Field ‘summary’ cannot be set. It is not on the appropriate screen, or unknown.”}}
It happens for both nextgen and classic projects.
The API documentation says that the required app scope is WRITE.
I tried the following scopes but it does not help.
“scopes”: [
“READ”, “WRITE”, “ACT_AS_USER”, “ADMIN”, “PROJECT_ADMIN”
]
Acting as user creates the issue, but my app does not need to act as user.
Is this a known limitation/bug or I am doing something wrong?
Any help is greatly appreciated.
Thank you,
Danut Manda