Skip to main content

Register the Jira OAuth app

Platform operators configure one shared OAuth application. Workspaces will grant access separately using their own Atlassian accounts. App registration and workspace OAuth APIs are available. The workspace connection screen supports consent and access management. Site/project/type selection is available; required-field mapping, reviewed ticket creation and reconciliation are available. Saving credentials does not verify them with Atlassian or connect a workspace.

Register and save​

  1. Sign in as a platform operator and complete MFA. Open Tenant portal > Jira integration.
  2. In the Atlassian developer console, create an OAuth 2.0 integration for Sectigo Quantum Ready.
  3. Add Jira API permissions read:jira-work, write:jira-work and read:jira-user. Authorization also requests offline_access to refresh access without repeated sign-in.
  4. Set the callback to exactly https://qscan.dev/account.html?jira_authorize=1. The product displays the callback for the configured deployment.
  5. Enable distribution if other Atlassian accounts will authorize the application. Copy the client ID and client secret from the app settings.
  6. Enter both values in the operator form and select Save registration. The saved status shows the client ID and save time. The secret is encrypted before storage and cannot be displayed again.

Do not enter an Atlassian password or personal API token. Platform registration is unavailable to workspace administrators. Do not send secrets through email, issue comments or documentation examples.

Replace credentials​

Open the same form, enter the new secret, select the replacement confirmation and save. Replacing credentials advances the app revision and requires existing authorizations to reconnect. The old stored secret is removed. Coordinate rotation with workspace administrators before changing a connected app.

If another operator changed the registration, the form rejects your stale save. Select Refresh status, review the current registration, and enter the replacement again. A failed save keeps the values you entered so you can correct the problem; a successful save clears the secret field.

Remove registration​

Expand Remove platform registration, select the confirmation and submit. This deletes the platform's stored client credentials. It does not delete Jira issues, delete the application in Atlassian, or revoke grants in Atlassian. Manage provider-side application access separately in Atlassian.

API and troubleshooting​

The browser-session API exposes GET /api/auth/integrations/jira-app, POST /api/auth/integrations/jira-app and POST /api/auth/integrations/jira-app/remove. All require a verified platform operator. Mutations require the canonical Origin and the current expectedRevision; replacement and removal require explicit confirmation. Save and removal share a rate limit.

  • Operator required: use your platform operator account, rather than a workspace administrator account, and complete MFA.
  • Configuration changed: refresh and review the latest registration before trying again.
  • Encryption unavailable: the deployment's integration credential encryption key must be configured by its operator; do not work around this by storing credentials elsewhere.
  • Saved, but not connected: registration only stores the app configuration. Workspace consent is a separate step. Configure the workspace project and field mapping before creating a ticket from a migration task.

Provider behavior follows Atlassian's OAuth 2.0 authorization code grant documentation.

Workspace authorization API​

For the product setup flow, see Connect and manage Jira accounts. Developers can also use the API reference to exercise the available lifecycle through a verified administrator browser session:

  1. POST /api/v1/jira-connections with {"name":"Production Jira"} creates metadata in authorization-required state. It does not contact Atlassian.
  2. POST /api/auth/jira/start with the returned connectionId and expectedRevision returns a fixed Atlassian authorization URL and expiry. Open that URL in the same browser session. Only a verified workspace administrator can start consent; API keys and agents cannot substitute for that session.
  3. Atlassian redirects to the account callback. The page removes the code/state from the address before posting them to POST /api/auth/jira/finish. Successful consent stores encrypted tokens and advances the connection to project-required. No ticket is created. Do not replay the callback or copy its code into logs.
  4. Read metadata with GET /api/v1/jira-connections/{id}. The response omits provider tokens and encrypted credential envelopes.
  5. POST /api/v1/jira-connections/{id}/disconnect with expectedRevision invalidates stored authorization. reopen advances the revision and requires fresh consent; it never restores old credentials. archive requires disconnect and removes the connection from the active list. Use GET /api/v1/jira-connections?archived=true to review archived metadata.

Listing supports limit from 1 to 100 (default 50) and the returned nextCursor as after. Workspace viewers and analysts can read metadata; only administrators can mutate connections. Renaming uses PATCH /api/v1/jira-connections/{id} with name and expectedRevision. Changes invalidate consent started against an earlier revision. Replacing the platform app also invalidates outstanding consent.

A successful consent response is not a completed Jira integration. Site/project/type selection and authorized token refresh are available. Required-field mapping and reviewed creation/reconciliation are available. Acceptance against a real authorized Jira account remains pending.

User-reference checks need read:jira-user. If an existing connection predates this permission, enable it in the Atlassian app and have its workspace administrator choose Actions > Authorize again. Existing project discovery continues to work, but user checks return a specific reauthorization message until the scope is granted. Reauthorization clears the target and saved mapping, so choose the project and configure its fields again.