Skip to content

Fuzzy search a Jira project to quickly identify issues and open them in a web browser

License

Notifications You must be signed in to change notification settings

DamonBaker/fuzzy-jira

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fuzzy-jira

Fuzzy search a Jira project to quickly identify issues and open them in a web browser. Powered by fzf.

fuzzy-jira

Usage

jira fetch <proj> [-a|--all]          # Fetch and cache the last 1000 issues within <proj> [-a fetch all paginated]
jira <proj> [-f|--force] [-m|--me]    # Search cached issues within <proj> [-f fetch first] [-m assigned only]
jira <issue-key>                      # Open the issue <issue-key> in a web browser
jira .                                # Parse the current git branch for an issue key and open it in a browser

# Examples
jira fetch proj
jira fetch proj --all
jira proj
jira proj -f
jira proj -m
jira proj-123

Setup

Clone the repo and add /fuzzy-jira/jira.sh to your PATH

# Example
cd ~ && git clone https://github.com/DamonBaker/fuzzy-jira.git
ln -s ~/fuzzy-jira/jira.sh /usr/local/bin/jira

Edit your /fuzzy-jira/.jiraconfig

# Example
JIRA_URL=https://<domain>.atlassian.net
JIRA_USERNAME=<jira-username>
JIRA_PASSWORD=<password/api-token>

Dependencies

  • cURL: brew install curl / apt-get install curl
  • fzf: brew install fzf / apt-get install fzf
  • jq: brew install jq / apt-get install jq

About

Fuzzy search a Jira project to quickly identify issues and open them in a web browser

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages