Requirements
- Node.js >= 20 — cops is a Node.js CLI. Run
node --versionto check your version. - Access to Atlassian Data Center instances — you need network access to one or more self-hosted Jira, Confluence, Bitbucket, or Bamboo instances and a Personal Access Token (PAT) or username/token for each.
cops targets Atlassian Data Center (self-hosted). It is not designed for Atlassian Cloud.
Installation methods
From source
Use this method when you want to track the latest commits or contribute to the project.Package + global install
Use this method for a stable, self-contained tarball — the recommended approach for sharing with teammates or installing in CI environments.Run the internal pack script
This runs This produces
typecheck, lint, test, and build before packing to ensure the tarball is clean.cops-0.1.0.tgz in the project root.Verify the installation
After either installation method, confirm that thecops binary is on your PATH:
PATH.
Configuration file locations
Once installed, cops stores auth profiles and project config in a platform-specific directory — no manual setup required.| Platform | Config directory |
|---|---|
| Linux / macOS | ~/.config/cops/ |
| Windows | %APPDATA%\cops\ |
config.json in that directory. On Linux and macOS it is automatically restricted to 0600 (owner read/write only).
