jira-cli-assistant v1.0.20
Jira CLI Assistant
Jira CLI Assistant is a command-line tool for interacting with the Jira API. It is built with TypeScript and offers a simple and efficient way to manage Jira projects and issues directly from the terminal.
Release notes (1.0.20)
- Fix: issuekey is not case sensitive anymore.
Features
- List all Jira projects
- List issues for a specific project with filtering options
- Create new issues in a project
- Update existing issues
- Delete issues
Installation
To install Jira CLI Assistant globally, run:
npm install -g jira-cli-assistant
Environment Variables
To run Jira CLI Assistant, you need to configure the following environment variables using the jira config
command.
The required inputs are:
- Enter your JIRA URL (e.g., https://yourcompany.atlassian.net)
- Enter your JIRA email
- Enter your JIRA API token
Getting a JIRA API Token
- Log in to your Jira account.
- Click on your profile icon in the upper right corner and select Account settings.
- Navigate to Security.
- Scroll down to the API token section and click on Create and manage API tokens.
- Click on Create API token.
- Enter a label for your token and click Create.
- Copy the generated token and use it in
jira config
Usage
After installation, you can use the following commands:
(for more info and useful flags use jira help
)
Configure Jira:
jira config
List all projects:
jira list projects
List issues for a project:
jira list issues <projectKey> # Optional filters: jira list issues PROJECT-KEY --status "In Progress" jira list issues PROJECT-KEY --assignee "John Doe"
Create a new issue:
jira create issue <projectKey> # With options: jira create issue PROJECT-KEY --summary "New Feature" --issueType "Story"
Update an issue:
jira update issue <issueKey> # With options: jira update issue ISSUE-123 --status "Done" --assignee "John Doe"
Delete an issue:
jira delete issue <issueKey> # Force delete without confirmation: jira delete issue ISSUE-123 --force
Available Commands
jira <verb> <resource> [options]
# Switch between profiles:
jira config --switch <profileName>
# Reset config:
jira config --reset
# Check JIRA profile status:
jira status
Resources and Commands:
list
projects List all JIRA projects
sprints <projectKey> List all sprints for a project
issues <projectKey> List issues in a project
-s, --status <status> Filter issues by status
-a, --assignee <assignee> Filter issues by assignee
--sprint <sprint> Filter issues by sprint name or ID
create
issue <projectKey> Create a new issue
-m, --summary <summary> Set the summary
-t, --issueType <type> Set the issue type
update
issue <issueKey> Update an issue
-s, --status <status> Set the status
-a, --assignee <assignee> Set the assignee
-m, --summary <summary> Update the summary
delete
issue <issueKey> Delete an issue
--force Force delete without confirmation
License
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoy coding! 🎉
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago