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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.