Submit Remote Link data
Update / insert Remote Link data.
Remote Links are identified by their ID, existing Remote Link data for the same ID will be replaced if it exists and the updateSequenceId of existing data is less than the incoming data.
Submissions are performed asynchronously. Submitted data will eventually be available in Jira; most updates are available within a short period of time, but may take some time during peak load and/or maintenance times. The getRemoteLinkById operation can be used to confirm that data has been stored successfully (if needed).
In the case of multiple Remote Links being submitted in one request, each is validated individually prior to submission. Details of which Remote LInk failed submission (if any) are available in the response object.
Request body
Example request
{
"properties": {
"accountId": "account-234",
"projectId": "project-123"
},
"remoteLinks": [
{
"schemaVersion": "1.0",
"id": "111-222-333",
"updateSequenceNumber": 1523494301448,
"displayName": "Remote Link #42",
"type": "security",
"description": "Remote Link #42 with more information in this description",
"lastUpdated": "2018-01-20T23:27:25.000Z",
"associations": [
{
"associationType": "issueIdOrKeys",
"values": [
"ABC-123",
"ABC-456"
]
}
],
"status": {
"appearance": "inprogress",
"label": "ANOMALOUS"
},
"actionIds": [
"action-111-222-333",
"action-444-555-666"
]
}
],
"providerMetadata": {
"product": "Opsgenie 6.10.2"
}
}Response
Submission accepted. Each submitted Remote Link that is of a valid format will be eventually available in Jira.
Details of which Remote Links were submitted and which failed submission (due to data format problems etc.) are available in the response object.
Example response
{
"acceptedRemoteLinks": [
"111-222-333",
"444-555-666"
],
"unknownAssociations": [
{
"associationType": "issueIdOrKeys",
"values": [
"ABC-123",
"ABC-456"
]
}
]
}