Developer
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
  • Backlog
  • Board
  • Epic
  • Issue
  • Sprint
  • Development Information
  • Feature Flags
  • Deployments
  • Builds
  • Security Information
  • Operations
  • DevOps Components
Cloud
Jira Software Cloud / Reference / REST API

Remote Links

Postman Collection
OpenAPI

APIs related to integrating remote link data with Jira Software.

These APIs are available to Atlassian Connect apps. To use these APIs you must have the jiraRemoteLinkInfoProvider module in your Connect app's descriptor. See https://developer.atlassian.com/cloud/jira/software/modules/remote-link/.

These APIs are available to Forge apps with the devops:remoteLinkInfoProvider module in the Forge app's manifest. See https://developer.atlassian.com/platform/forge/manifest-reference/modules/jira-software-remote-link-info/.

POST

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.

Data Security Policy: Not exempt from app access rules
Scopes
write:remote-link-info:jira

Connect app scope requiredWRITE

Request

Header parameters

Authorization

string

Required

Request bodyapplication/json

Remote Links data to submit.

properties

Properties

remoteLinks

array<RemoteLinkData>

Required
providerMetadata

ProviderMetadata

Responses

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.

application/json

object

The result of a successful submitRemoteLinks request.

POST/rest/remotelinks/1.0/bulk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import { requestJira } from "@forge/bridge"; var bodyData = `{ "properties": { "accountId": "account-234", "projectId": "project-123" }, "remoteLinks": [ { "schemaVersion": "1.0", "id": "111-222-333", "updateSequenceNumber": 1523494301448, "displayName": "Remote Link #42", "url": "<string>", "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" ], "attributeMap": {} } ], "providerMetadata": { "product": "Opsgenie 6.10.2" } }`; const response = await requestJira(`/rest/remotelinks/1.0/bulk`, { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: bodyData }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
202Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 { "acceptedRemoteLinks": [ "111-222-333", "444-555-666" ], "rejectedRemoteLinks": {}, "unknownAssociations": [ { "associationType": "issueIdOrKeys", "values": [ "ABC-123", "ABC-456" ] } ] }
DEL

Bulk delete all Remote Links data that match the given request.

One or more query params must be supplied to specify Properties to delete by. Optional param _updateSequenceNumber is no longer supported. If more than one Property is provided, data will be deleted that matches ALL of the Properties (e.g. treated as an AND).

See the documentation for the submitRemoteLinks operation for more details.

e.g. DELETE /bulkByProperties?accountId=account-123&repoId=repo-345

Deletion is performed asynchronously. The getRemoteLinkById operation can be used to confirm that data has been deleted successfully (if needed).

Data Security Policy: Not exempt from app access rules
Scopes
delete:remote-link-info:jira

Connect app scope requiredDELETE

_updateSequenceNumber

integer

params

object

Authorization

string

Required

Delete accepted. Data will eventually be removed from Jira.

DEL/rest/remotelinks/1.0/bulkByProperties
1 2 3 4 5 6 7 8 9 10 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import { requestJira } from "@forge/bridge"; const response = await requestJira(`/rest/remotelinks/1.0/bulkByProperties`, { method: 'DELETE' }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.text());
GET

Retrieve the currently stored Remote Link data for the given ID. The result will be what is currently stored, ignoring any pending updates or deletes.

Data Security Policy: Not exempt from app access rules
Scopes
read:remote-link-info:jira

Connect app scope requiredREAD

remoteLinkId

string

Required
Authorization

string

Required

The Remote Link data currently stored for the given ID.

application/json

RemoteLinkData

Data related to a single Remote Link.

GET/rest/remotelinks/1.0/remotelink/{remoteLinkId}
1 2 3 4 5 6 7 8 9 10 11 12 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import { requestJira } from "@forge/bridge"; const response = await requestJira(`/rest/remotelinks/1.0/remotelink/{remoteLinkId}`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 { "schemaVersion": "1.0", "id": "111-222-333", "updateSequenceNumber": 1523494301448, "displayName": "Remote Link #42", "url": "<string>", "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" ], "attributeMap": {} }
DEL

Delete the Remote Link data currently stored for the given ID.

Deletion is performed asynchronously. The getRemoteLinkById operation can be used to confirm that data has been deleted successfully (if needed).

Data Security Policy: Not exempt from app access rules
Scopes
delete:remote-link-info:jira

Connect app scope requiredDELETE

remoteLinkId

string

Required
_updateSequenceNumber

integer

Authorization

string

Required

Delete has been accepted. Data will eventually be removed from Jira if it exists.

DEL/rest/remotelinks/1.0/remotelink/{remoteLinkId}
1 2 3 4 5 6 7 8 9 10 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import { requestJira } from "@forge/bridge"; const response = await requestJira(`/rest/remotelinks/1.0/remotelink/{remoteLinkId}`, { method: 'DELETE' }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.text());

Rate this page: