Hello,
I want to create an issue in a Jira project using the REST API. I used a working url + the following ending provided by Atlassian: "/rest/api/2/issue" for POST.
Since the project is different to the sample data provided in Atlassian´s guide (https://docs.atlassian.com/software/jira/docs/api/REST/8.5.0/#api/2/issue-createIssue)
I shortened it to make it suitable for my project and used XYZ in here. The real project has a different key.
{
"fields": {
"project": {
"key": "XYZ"
},
"summary": "something's wrong",
"issuetype": {
"name": "Incoming Invoice"
},
"reporter": {
"name": "smithers"
}
}
}
If I wanted to create the issue using the UI it looks like this.
As an error I get the following: message: "{\"errorMessages\":[\"Unexpected character ('f' (code 102)): was expecting a colon to separate field name and value\\n"
This isn´t that relevant but I used UIPath to connect to Jira via Rest Api.