Retrieves the parameter details of an integration from the git repository configuration.
Only Jira admins can perform the Retrieve an Integration API call.
url
{JiraBaseURL}/rest/gitplugin/1.0/integration/{integrationId}
method
GET
parameters
Field | Description |
---|---|
integrationId | Integer. Required.
This is the ID of the existing integration. For example, |
Example
http://jira.yourorg.com/rest/gitplugin/1.0/integration/2
Response example:
{
"success": "true",
"integration": [
{
"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": false
}
]
}
Integration REST APIs
Add New Integration Type API (examples)
Retrieve an Integration (this page)