Hi,
I tried creating Issue using REST APIs through postman. The issue got created successfully.
Then I am trying to create Issue Links using the REST API.
Below is the format of my REST API:
POST /rest/api/2/issueLink HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxxx
Cache-Control: no-cache
Postman-Token: xxxxxxxxxxxxxxxxxxxxxxxx
{"outwardIssue":{"key":"IMP-1"},"comment":{"body":"Linked related issue!"},"inwardIssue":{"key":"OMP-3"},"type":{"name":"Cloners"}}
When i try to hit this call it is throwing me an error as below:
{
"errorMessages": [
"Internal server error"
],
"errors": {}
}
But when I hit the same call again without modifying anything..then the Issue Links is getting created properly.
Why is this getting failed for the first time?
Thanks.