Only Jira admins can perform the Enable/Disable Existing Integration API call.
URL format
{JIRA_BASE_URL}/rest/gitplugin/1.0/repository/{integrationId}/disable?disable=true|false
method
PUT
Utilize the following parameters to control the field values in the URL format:
parameters
Field | Description |
---|---|
JIRA_BASE_URL | String. Required.
This is your organization’s Jira base URL. For example, |
integrationId | Integer. Required.
This is the integration ID that your are targeting to enable/disable. |
disable | Boolean. Required.
When set to disable=true, the status of the target integration in the Manage git integration configuration list becomes DISABLED. Set to disable=false, to enable it again. |
example
https://acmecorp.jira.com/rest/gitplugin/1.0/repository/1/disable?disable=true
RESULT:
{
"success": true
}
Integration REST APIs
Add New Integration Type API (examples)
Enable/disable Existing Integration (this page)