Git Integration for Jira Self-Managed (Data Center/Server) Documentation

Contact Support
GitKraken Status  

Retrieve an Integration API

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, /integration/2.

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

Add New Integration Type API (examples)

Update Existing Integration

Remove Integration

Retrieve an Integration (this page)

Retrieve Integration List

Have feedback about this article? Did we miss something? Let us know!
On this page