globalId
is provided and a remote issue link with that global ID is found it is updated. Any fields without values in the request are set to null. Otherwise, the remote issue link is created.curl --location -g --request POST 'http:///rest/api/3/issue//remotelink' \
--header 'Content-Type: application/json' \
--data-raw '{
"application": {
"name": "My Acme Tracker",
"type": "com.acme.tracker"
},
"globalId": "system=http://www.mycompany.com/support&id=1",
"object": {
"icon": {
"title": "Support Ticket",
"url16x16": "http://www.mycompany.com/support/ticket.png"
},
"status": {
"icon": {
"link": "http://www.mycompany.com/support?id=1&details=closed",
"title": "Case Closed",
"url16x16": "http://www.mycompany.com/support/resolved.png"
},
"resolved": true
},
"summary": "Customer support issue",
"title": "TSTSUP-111",
"url": "http://www.mycompany.com/support?id=1"
},
"relationship": "causes"
}'
{"id":10000,"self":"https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10000"}
【JIRA7.6.1】API开发者 微信交流群
用微信扫右侧二维码,加入【JIRA7.6.1】API开发者 交流群,互助沟通