Jira CLI is an interactive command-line interface for managing Jira issues efficiently. It provides a set of commands to interact with Jira, view and update tickets, manage attachments, and perform various other Jira-related tasks.
- Interactive shell for Jira operations
- View and update ticket details
- Create new tickets
- Manage attachments
- Perform JQL queries
- View linked issues and child tasks
- AI-powered assistance for Jira tasks
-
Clone the repository:
git clone https://github.com/yourusername/jira-cli.git cd jira-cli
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up your environment variables: Create a
.env
file in the project root and add the following:JIRA_SERVER=https://your-jira-instance.atlassian.net JIRA_EMAIL=your-email@example.com JIRA_API_TOKEN=your-jira-api-token OPENAI_API_KEY=your-openai-api-key
To start the Jira CLI, run:
python main.py
Once in the interactive shell, you can use various commands to interact with Jira. Type help
to see a list of available commands.
vid <TICKET-ID>
: View details of a specific ticketnew <PROJECT-ID> <TYPE> <SUMMARY>
: Create a new ticketupdate
: Update the description of the current ticketcomment
: Add a comment to the current ticketattach <FILE>
: Attach a file to the current ticketvct
: View child tasks of the current ticketvli
: View linked issues of the current ticketjql <QUERY>
: Perform a JQL queryai
: Start an AI-powered interactive shell for Jira tasks
The Jira CLI uses a cache system to improve performance. Cache files are stored in the cache
directory.
Contributions are welcome! Please feel free to submit a Pull Request.