The Jira CLI Tracker is a command-line application designed to help you manage and track your Jira tasks directly from the terminal. This tool allows you to view tasks assigned to you with specific labels, filter tasks by status, and more.
- Task Listing: View all tasks assigned to you with a specific label.
- Status Filtering: Filter tasks by status (Open, In Progress, Done).
- Clear Console: Clears the console screen for a clean output.
- Environment Variables: Uses environment variables for configuration (JIRA_URL, USERNAME, API_TOKEN, LABEL).
- Go 1.16 or later
- Jira account with appropriate permissions
- Environment variables set up (
.env
file or system environment variables)
-
Clone the repository:
git clone https://github.com/mrashed98/jiraCliTracker.git cd jiraCliTracker
-
Install dependencies:
go mod download
-
Set up your environment variables by creating a
.env
file in the root directory with the following content:JIRA_URL=https://your-jira-instance.atlassian.net USERNAME=your-jira-username API_TOKEN=your-jira-api-token LABEL=your-label
-
List All Tasks:
go run main.go tasks
-
Filter Tasks by Status:
- Open Tasks:
go run main.go open
- In Progress Tasks:
go run main.go inprogress
- Done Tasks:
go run main.go done
- Open Tasks:
To list all tasks assigned to you with the label specified in your .env
file:
go run main.go tasks
To list all tasks marked as "Done":
go run main.go done
The application uses environment variables for configuration. Ensure that the .env
file is correctly set up with your Jira instance details, username, API token, and label.
Contributions are welcome! Please feel free to submit a pull request or open an issue for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or support, please contact Mahmoud Rashed.
Thank you for using the Jira CLI Tracker! We hope this tool helps you manage your Jira tasks more efficiently.