Download the PHP package oguzhantogay/jira-cli without Composer
On this page you can find all versions of the php package oguzhantogay/jira-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oguzhantogay/jira-cli
More information about oguzhantogay/jira-cli
Files in oguzhantogay/jira-cli
Package jira-cli
Short Description A PHP CLI tool to interact with Jira issues directly from the terminal.
License MIT
Homepage https://github.com/oguzhanT/jira-cli
Informations about the package jira-cli
Jira CLI Tool
A powerful, easy-to-use CLI tool for interacting with Jira, making it simple to manage issues, track worklogs, and automate common tasks right from your terminal. Perfect for developers and project managers who want to streamline their Jira workflows.
Features
- View, create, edit, assign, and delete Jira issues
- Track daily, weekly or monthly worklogs with detailed or summarized views
- Retrieve user details and set environment configurations automatically
Supported Platforms
Platform | Supported | Notes |
---|---|---|
macOS | ✅ | Requires PHP installed |
Linux | ✅ | Requires PHP installed |
Windows | ✅ | Requires PHP installed |
Installation
-
Clone the repository:
-
Install dependencies:
-
Configure your environment:
- Copy the
.env.example
file to.env
and fill in your Jira details:
- Copy the
- Set up account ID:
- Run the following command to automatically set your
JIRA_ACCOUNT_ID
in.env
:
- Run the following command to automatically set your
Commands
Issue Management
View Issue Details
Display details for a specific issue by key.
Create a New Issue
Interactively create a new issue in Jira.
You will be prompted for details such as project, summary, description, issue type, and priority.
Edit an Issue
Edit details of an existing issue.
Provides prompts for modifying fields like summary, description, assignee, issue type, and priority.
Assign an Issue
Assign an issue to a user by account ID.
Alternatively, use --projectKey
to choose from a list of assignable users.
Delete an Issue
Delete a specified issue.
Worklog Tracking
Show Worklog Summary
View the total time logged for a specified period (daily, weekly, biweekly, monthly).
Show Detailed Worklog by Issue
Get a breakdown of worklogs by issue for each day.
User Management
Configure Account ID
Automatically fetch and set your Jira accountId
in the .env
file.
Show User Details
Retrieve details for the authenticated user.
Example Workflows
-
Set up and View Your User Details:
- Log and Track Work:
Contribution
If you’d like to contribute to this project:
- Fork the repository.
- Create a feature branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -m "Add a new feature"
). - Push to the branch (
git push origin feature-branch
). - Create a pull request.
License
This project is licensed under the MIT License.