I found out in META under create test field "issuelinks". There is missing any description in API reference manual. No idea how it works.
My question is, how it works? Exists some example? Because when I send:
{
"fields": {
"project": {
"key": "GBUR"
},
"issuetype": {
"name": "Test"
},
"summary": "Linked test to one story",
"issuelinks": [{
"add": {
"type": {
"name": "Blocks",
"inward": "is blocked by",
"outward": "blocks"
},
"outwardIssue": {
"key": "GBUR-255"
}
}
}]
}
}I get:
{
"errorMessages": [],
"errors": {
"issuelinks": "Field does not support update 'issuelinks'"
}
}It sounds, like this is not allowed. No idea why?
META is under "Test" this:
"issuelinks": {
"required": false,
"schema": {
"type": "array",
"items": "issuelinks",
"system": "issuelinks"
},
"name": "Linked Issues",
"autoCompleteUrl": "https://jira.xz.com/rest/api/2/issue/picker?currentProjectId=&showSubTaskParent=true&showSubTasks=true¤tIssueKey=null&query=",
"hasDefaultValue": false,
"operations": ["add"]
},Many many thanks.