A CLI tool to manage your Jira tasks from the terminal.
Download the latest binary for your platform from Releases:
# Linux/macOS - make it executable and move to PATH
chmod +x gira
sudo mv gira /usr/local/bin/
# Windows - add to PATH
# Move gira.exe to a folder like C:\Program Files\gira\
# Add that folder to your PATH environment variablego install github.com/enBonnet/gira@latestThe binary will be installed to $GOPATH/bin (or $HOME/go/bin by default).
git clone https://github.com/enBonnet/gira.git
cd gira
go build -o gira .Add to PATH:
# Linux/macOS
sudo mv gira /usr/local/bin/
# Or add to your local bin
mkdir -p ~/bin
mv gira ~/bin/
# Add to your shell config (~/.bashrc, ~/.zshrc, etc.)
export PATH="$HOME/bin:$PATH"Create a config file at ~/.config/gira/gira.yaml or ~/.gira.yaml:
jira_url: https://your-company.atlassian.net
email: your-email@example.com
api_token: your-jira-api-token
project: PROJECT_KEY # optionalAlternatively, use environment variables:
export GIRA_JIRA_URL=https://your-company.atlassian.net
export GIRA_EMAIL=your-email@example.com
export GIRA_API_TOKEN=your-jira-api-token
export GIRA_PROJECT=PROJECT_KEY # optional- Go to Atlassian Account Settings
- Click "Create API token"
- Label it (e.g., "gira-cli")
- Copy the token and use it in your config
gira tasksOutput:
KEY STATUS PRIORITY SUMMARY URL
LPTS-2028 To Do Highest Rewards & Referrals V2 FE https://your-company.atlassian.net/browse/LPTS-2028
LPTS-2345 To Do Highest Property Admin's should not be able to add users https://your-company.atlassian.net/browse/LPTS-2345
-l, --limit int- Maximum number of tasks to display (default: 5)- Use
-l 0to show all tasks
Examples:
gira tasks # Show 5 tasks (default)
gira tasks -l 10 # Show 10 tasks
gira tasks -l 0 # Show all tasksTasks are filtered by status: To Do, BLOCKED, In Progress
Tasks are sorted by priority (Highest → Lowest).
gira myselfOutput:
Account ID: 5f1234567890abcdef123456
Name: John Doe
Email: john.doe@example.com
Active: true
Timezone: America/New_York
Locale: en_US
- Go 1.21+
go build -o gira .gira/
├── main.go # Entry point
├── cmd/
│ ├── root.go # Root command
│ ├── tasks.go # tasks subcommand
│ └── myself.go # myself subcommand
└── internal/
├── config/
│ └── config.go # Configuration loading
└── jira/
└── client.go # Jira API client