curl --location --request PUT 'http://jira.local:8080/jira/rest//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"
}'