Configure an auth profile
Run the interactive login wizard to create a named profile with connection details for each Atlassian product.The wizard prompts you for a profile name, then walks through each product (Jira, Confluence, Bitbucket, Bamboo). For each one you want to configure, provide the base URL and your credentials.Supported auth types:To switch to a specific profile:
- bearer (default) — Personal Access Token sent as
Authorization: Bearer <pat> - basic — username and token sent as
Authorization: Basic <base64>
cops auth login sets the newly created profile as the current profile automatically. You only need cops auth use when switching between multiple profiles.Run a quick product command
With an auth profile active, query any of the four supported products directly.All data commands support three output formats via the
You can also send a natural-language query to the Devin CLI assistant integration:
--output flag:| Flag | Description |
|---|---|
--output table | Human-readable table (default) |
--output json | Enveloped JSON with schemaVersion: "v1" — suitable for scripts and automation |
--output markdown | Markdown — suitable for pasting into wikis or PR descriptions |
cops ask requires the Devin CLI to be available and configured. All other commands work independently.Initialize a release config
cops uses a per-project config file (By default this writes Open the generated file and fill in your real project keys, page IDs, plan keys, and repo names.Validate that the policy is structurally correct before running checks:Then run all configured gates:Supported gate types include
cops.project.json) to define which release gates to run. Generate one from a built-in template:cops.project.json to the global config directory (~/.config/cops/ on Linux/macOS, %APPDATA%\cops\ on Windows). To write it into the current working directory instead:jira-stories-exist, confluence-page-freshness, bitbucket-release-branch-exists, bamboo-latest-build-success, and others. See the configuration guide for the full list.Generate and validate release evidence
Once gates pass, generate a versioned evidence artifact that captures the state of each gate at release time:This writes two files to The
output/:release-evidence-backend-service.json— structured evidence envelope (schemaVersion: "v1")release-evidence-backend-service.md— human-readable Markdown summary
--strict flag treats any gate that did not pass as a validation failure. Omit it to validate the schema only.Evidence files use a stable
schemaVersion: "v1" JSON envelope. You can safely consume them in scripts, dashboards, or compliance workflows without worrying about breaking changes between cops versions.Next steps
Command reference
Full reference for every cops command, flag, and alias.
Configuration guide
Auth profile storage, project config precedence, and all supported gate types.
