Retrieve an Integration

Retrieves the parameter details of an integration from the git repository configuration.

Only Jira admins can perform the Retrieve an Integration API call.

Retrieve an Integration

url

/rest/gitplugin/1.0/integration/{integrationId}

method

GET

parameters

Paramater

Condition

integrationId

Integer.  Required.

This is the ID of the existing repository. For example, /integration/2.

Example:

http://jira.yourorg.com/rest/gitplugin/1.0/integration/2

Response example:

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 { "success": "true", "integrations": [ { "id": 2, "displayName": "Test GitHub", "origin": "https://api.github.com", "disabled": false, "sendCommitEmails": true, "maxMinsToCommitEmail": 1440, "global": true, "initDate": 1549911276768, "lastIndexedDate": 1584930774250, "revisionIndexing": true, "gitViewerEnabled": true, "disableSslVerification": false, "smartCommitsEnabled": true, "tagsFilter": "", "requireUserPat": false, "projectMappingIds": [], "integrationType": "GITHUB", "sourcesDiffViewEnabled": true, "refSpecNotes": true, "refSpecChanges": false, "apiPath": "", "apiFilter": "", "trustFolderStat": true } ] }