Description: Updates an existing Jira integration’s configuration.
Security: Requires admin access permissions to perform the operation.
Notes:
Ensure that the given Jira Server URL is valid and accessible.
The username and password should have the necessary permissions to create tickets in the specified Jira instance.
skip_proxycontrols whether a proxy is bypassed during connection checks.Available from Xray version 3.129 and above.
API Version: V.1
Usage: PUT /xray/api/v1/ticketing/jira-integrations/{connection_name}
Consumes: application/json
Produces : application/json
Query Parameters: none
Request Body:
Name | Type | Mandatory/Optional | Description |
|---|---|---|---|
| string | Mandatory | Name of the connection to update |
| string | Optional | Authentication method. Valid values: |
| string | Optional | Username for authentication. |
| string | Optional | Password for authentication. |
| string | Optional | Type of Jira installation. Valid values: |
| string | Optional | Jira server URL to use for ticketing. |
| boolean | Optional | Bypass proxy settings when connecting. Default: |
Response body
Name | Type | Mandatory/Optional | Description |
|---|---|---|---|
| string | Optional | Message confirming a successful update. |
| string | Optional | Error details if the update fails. |
Response codes
Status Code | Description |
|---|---|
200 | Success - Integration updated |
400 | One or more fields are missing/invalid |
403 | Permission denied |
404 | No integration found with the given |
500 | Failed to update integration |
Sample request
Example 1 – Connecting with Jira Cloud
{
"connection_name": "cloudProjectABC",
"auth_type": "basic",
"username": "customer@gmail.com",
"password": "password",
"installation_type": "cloud",
"jira_server_url": "https://customer.atlassian.net",
"skip_proxy": false
}
Example 2 – Connecting with a self-hosted Jira Server
{
"connection_name": "ServerProjectXYZ",
"authType": "basic",
"username": "customer@gmail.com",
"password": "password",
"installation_type": "server",
"jira_server_url": "http://10.35.12.11",
"skip_proxy": true
}Sample successful response
200 OK
{
"info": "Integration has been successfully updated"
}Sample error response
404 Not Found
{
"error": "No integration found with the given connection name"
}