---
# System prepended metadata

title: Jira cli for automation

---

# Jira cli for automation


## ankitpokhrel/jira-cli
* https://github.com/ankitpokhrel/jira-cli


```
go install github.com/ankitpokhrel/jira-cli/cmd/jira@latest
export JIRA_API_TOKEN='foo'
sudo cp $GOPATH/bin/jira /usr/local/bin/

jira --help
jira 
```
* Bah authentication failing
    * AH THERE IS A FIX!

```
https://github.com/ankitpokhrel/jira-cli.git
cd jira-cli
gh pr checkout 313
make build
make install

export JIRA_API_TOKEN='foo'
~/go/bin/jira init --debug

```

## Usefull commands

* my open tickets
```
jira issue list --plain -a$(jira me) -s~Done
```
