jira-ai
v0.9.92
Published
AI friendly Jira CLI to save context
Maintainers
Readme
Jira AI CLI
An AI-friendly CLI for Jira that prioritizes efficiency and security.
Core Benefits
- Context Efficiency: Eliminates redundant context data, consuming significantly fewer tokens than Jira MCP or similar tools.
- Bullet-proof Security: Restrict AI to only the actions you permit, ensuring your environment remains secure.
Start
- Human: Quick walk through video
- AI Agent: Project overview and commands
Installation
If you know how to install npm then after installation run this instuction. in your CLI agent.
If you don't know what npm is but want to use Jira "the haker way" this instruction is for you. copy it and run in any AI agent like chat GPT, Gemini e.t.c.
npm install -g jira-aiInstall in Claude code:
Step 1: Add the Marketplace
Add this marketplace to your Claude instance:
claude plugin marketplace add festoinc/management-pluginsStep 2: Install the Plugin
claude plugin install jira-ai-connector@management-pluginsWill be avalibale automatically as skill
Install in Gemini CLI
Step 1: Add the Extension
Add this extension to your Gemini CLI:
gemini extension install https://github.com/festoinc/management-pluginsWill be avalible as slash command
/work-with-jiraQuick Start
Run interactive authorization:
jira-ai authSee all available commands:
jira-ai --helpService Account Authentication
Atlassian service accounts use scoped API tokens that must authenticate through the api.atlassian.com gateway rather than direct site URLs.
Using a .env file
Create a .env file with your service account credentials:
JIRA_HOST=your-domain.atlassian.net
[email protected]
JIRA_API_TOKEN=your-service-account-api-token
JIRA_AUTH_TYPE=service_accountThen authenticate:
jira-ai auth --from-file path/to/.envThe Cloud ID will be auto-discovered from your site URL. To provide it explicitly:
JIRA_CLOUD_ID=your-cloud-idUsing CLI flags
jira-ai auth --service-accountOr with an explicit Cloud ID:
jira-ai auth --service-account --cloud-id your-cloud-idHow it works
Standard Jira API tokens authenticate directly against your-domain.atlassian.net. Service account tokens are scoped and must route through the Atlassian API gateway at api.atlassian.com/ex/jira/{cloudId}/....
When authType is set to service_account, jira-ai automatically:
- Discovers your Cloud ID from
https://your-domain.atlassian.net/_edge/tenant_info(if not provided) - Routes all API requests through
https://api.atlassian.com/ex/jira/{cloudId}instead of the direct site URL - Uses the same basic auth (email + API token) — just through the gateway
Existing configurations using standard API tokens are unaffected.
Configuration & Restrictions
Tool allows you to have very complex configutations of what Projects/Jira commands/Issue types you would have acess to thought the tool. Use this command to start setup:
jira-ai settings --helpAll avalible commands: https://github.com/festoinc/jira-ai/blob/main/all_avaliable_commands.md
Links
- Repository: https://github.com/festoinc/jira-ai
- Issues: https://github.com/festoinc/jira-ai/issues
- NPM: https://www.npmjs.com/package/jira-ai
License
Apache License 2.0
