Skip to content
Docs
qmpass.ai Become a design partner
Start

Authentication

Project API tokens: create one, choose its access and expiry, send it, and keep it safe.

RoleJira Admin or Project Admin

Every call from outside Jira uses a project API token. A token belongs to one project and can only call that project’s routes.

  • The site’s plan includes API access: Pro or Enterprise. On other plans the card says API access isn’t included in your plan.
  • You’re a Jira Admin or an admin of the Jira project. API tokens live in Project settings, which only they can open.
  1. Project settingsQmpass.aiProject SettingsAPI tokens

    Give it a Token name, such as the pipeline that will use it, then choose:

    • Access: Read only (project:read) for reads, or Read & write (project:read and project:write) to also start gate evaluations and push builds and deployments.
    • Expires: 30 days, 90 days (the default) or 1 year. Every token expires.

    Select Create token.

  2. Project settingsQmpass.aiProject SettingsAPI tokens

    Copy the token. It looks like qmp_proj_<publicId>_<secret>, and Qmpass.ai keeps only a hash of it, so it can’t be shown again. Use in a pipeline shows the command to paste.

    You'll see Copy the token now — it is shown only once.

Send the token as a bearer token on every request:

Terminal window
curl https://api.qmpass.ai/api/v1/projects/current/milestones \
-H "Authorization: Bearer $QMPASS_TOKEN"
  • The project in the path: use the Jira project’s numeric id, /api/v1/projects/10000/…, or current, /api/v1/projects/current/…, which always means the token’s own project. A token used on another project’s path is refused.
  • Reads and writes: a Read only token can call GET routes. Anything else, including a POST that only reads, needs Read & write.

A token only reaches its own project’s routes. It can’t call account, billing, subscription or admin routes, or, inside the project: settings, roles and access, token management, per-person routes, Ask Qmpass or a gate’s sign-off, which is a person’s approval. A Read & write token can do what a project Member can; steps only a Quality Owner takes stay closed to it.

Each token’s row shows its Access, Expires, Last used and Created dates.

  • Rotate token issues a new secret with the same access and expiry date. Update your pipeline’s secret with it.
  • Revoke token stops it for good: “Pipelines using this token will stop working immediately.”
  • A token also stops working when it expires, when the project is turned off, or when the plan loses API access. These changes can take up to 30 seconds to apply.

Jira Admins can see and revoke every project’s tokens in Jira adminAppsQmpass.aiAccount Settings.