I broke jira. Trying to create an issue with a link with the following json:
{ "fields": { "project": { "id": "13500" }, "summary": "My Feature test2", "description": "this is my 1st feature test2", "issuetype": { "id": "10000" }, "components":[ { "self":"https://hansentechnologies.atlassian.net/rest/api/2/component/18730", "id":"18730", "name":"Banner Development" } ], "versions":[ { "self":"https://hansentechnologies.atlassian.net/rest/api/2/version/25798", "id":"25798", "name":"2021", "archived":false, "released":false } ], "fixVersions":[ { "self":"https://hansentechnologies.atlassian.net/rest/api/2/version/25798", "id":"25798", "name":"2021", "archived":false, "released":false } ], "customfield_10008":"USB-13472" }, "update":{ "issuelinks":[ { "add":{ "type":{ "name":"Delivers", "inward":"is delivered by", "outward":"delivers" } } } ] }}
with this url: https://hansentechnologies.atlassian.net/rest/api/2/issue/
getting the following response:
{"errorMessages":["Internal server error"],"errors":{}}
HI. Check this KB https://confluence.atlassian.com/jirakb/how-to-use-rest-api-to-add-issue-links-in-jira-issues-939932271.html
maybe you missed this block
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.