I’m having trouble creating a new issue in JIRA Cloud using the REST API. I have an Atlassian Connect Express app that is able to successfully execute GET /rest/api/2/search and GET /rest/api/2/project. However, POST /rest/api/2/issue doesn’t work; I got a 403 Forbidden response. The scope is set to “write” in atlassian-connect.json.
I am able to create new issues using HTTPie -
http POST https://mydomain.atlassian.net/rest/api/2/issue --auth username:password < new_issue.json.