Connect a self-hosted Jira with a token
Connects a self-hosted Jira (Data Center or Server) with an instance URL and a personal access token. This route is available only on on-prem Strix installs and returns 404 on hosted Strix. The token must belong to an organization admin (parity with the dashboard). When the token has Jira administrator rights, Strix registers the status webhook. Otherwise the response carries the webhook URL for a Jira administrator to add by hand.
Authorizations
API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.
Body
Connect a self-hosted Jira (Data Center or Server) with a personal access token.
Base URL of the Jira instance, for example https://jira.example.com or https://tools.example.com/jira.
Personal access token that the Jira user created on that instance.
Response
Connected.
True when Strix registered the status webhook on the Jira instance.
Webhook URL for a Jira administrator to add when webhook_registered is false. The URL contains a secret and is returned once.
Reason Jira refused the webhook registration, if any.