Use this API to configure a GitLab for Jira (Forge) installation, by setting the GitLab instance URL it points to and registering the system token it uses to synchronize development information. For more information, see the Jira integrations.

Update the GitLab for Jira (Forge) installation instance URL

PUT /api/v4/integrations/jira_forge/installation

Sets the GitLab instance the installation points at. Omit instance_url (or send null) for GitLab.com. Requires a Jira site or organization admin.

Request body (application/json)

PropertyTypeDescription
instance_urlStringBase URL of the self-managed GitLab instance; null for GitLab.com
Maximum length: 1024

Responses

CodeDescriptionSchema
200OKAPIEntitiesBasicSuccess
400Bad Request—
401Unauthorized—
403Forbidden—
422Unprocessable entity—

Register the GitLab for Jira (Forge) system token for direct dev-info sync

POST /api/v4/integrations/jira_forge/installation/forge_token

Stores the Forge app system OAuth token (X-Forge-Oauth-System header) and the Jira apiBaseUrl (from the FIT), so GitLab pushes dev-info directly to Jira. See Atlassian::Forge::SystemTokenClient.

Responses

CodeDescriptionSchema
201CreatedAPIEntitiesBasicSuccess
400Bad Request—
401Unauthorized—
422Unprocessable entity—

Schemas

Objects returned by the operations above and objects nested in their request bodies.

APIEntitiesBasicSuccess

PropertyTypeDescription
successObject—