Command line tools for interacting with JIRA
Never leave the command line to update a ticket again.
pip install accountable
Once installed, configure your account:
List all projects:
List all issue types:
accountable issuetypes or accountable issuetypes DEV
List metadata for an individual issue:
accountable issue DEV-101
Add a comment to an issue:
accountable issue DEV-102 addcomment "[~tpm] I'm BLOCKED"
List available transitions for an issue:
accountable issue DEV-103 transitions
Do a transition for an issue:
accountable issue DEV-104 dotransition 1
Currently, only Basic Auth is supported. Running accountable configure will prompt you to enter your username, password, and the your Jira domain.
Since every account can be setup differently you might want to view custom fields for an issue. By default, the following fields are displayed when examining an issue:
- Reporter - Display name
- Assignee - Display name
- Issue type - name
- Status - Status category - name
These defaults can be changed by editing your ~/.accountable/config.yaml. Nesting fields is supported. Check out the Jira documentation here for information on fields in the payload.
Using with Githooks
- Using with popodoro
Jira already supports robust triggers, like changing a ticket’s status based on a pull request, or a branch being created. You can also transition tickets with commit messages.
However, there are times when these automated triggers aren’t enough.
Often, you’ll start work locally, and forget to put the ticket in progress. Or you’ll forget to add a transition to a commit message. Multiple actions listed in your commit message also aren’t relevant to the project’s history.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|accountable-0.1-py3.5.egg (15.3 kB) Copy SHA256 hash SHA256||Egg||3.5||Nov 21, 2016|
|accountable-0.1.tar.gz (7.6 kB) Copy SHA256 hash SHA256||Source||None||Nov 21, 2016|