If you are looking to install and provision your own issue tracker system then you could consider any of the following:
- Roundup Written in python and includes a CLI interface as well as web & email interfaces. The documentation on the CLI is sparse though.
- Trac also written in python and has a CLI
trac-admin
- Many others some of which are full “forges” i.e. allowing hosting of bug tracker(s), wikis, VCS and possibly distributions. See the comparison here where the Input Interfaces comparison includes a CLI column.
Many of the above have their own CLI or a plug-in or python library that utilise the API to give one.
However, you need to be aware that setting up & maintaining your own tracker, (or forge), is a major commitment requiring plentiful storage, processing power & bandwidth plus back-up & administration commitments. Trust me I have done it and it was not a trivial commitment.
Alternatively, if you were to use GitHub then the GitHub CLI gh
is free, open source & cross platform. It provides a comprehensive interface to the GitHub issue tracker and much, much, more. It can connect to any of the possible GitHub instances including:
- The public GitHub repositories
- Ring Fenced (private) repositories
- GitHub Enterprise Server
For tickets/trackers it allows any of:
- List existing issues (with filters)
- Create new issues
- View an issue (as text)
- Comment on an issue
- Add labels to an issue
- Add milestones to an issue
- But not adding attachments to issues
I am reasonably sure that at least some other source code hosting services will also have similar tools, (I know that BitBucket doesn’t currently), but that may well be worth investigating.