A command line tool that pulls and prints notes about a given jira release. This was thrown together one weekend for personal use and to experiment with the JIRA api
This tool ignores sub-tasks and epics.
$ npm -g install jira-release-notes
$ jira-release-notes [options]
Command line options
The JIRA hostname. e.g, "yourname.jira.com".
The JIRA username to log in.
The JIRA password for the given username. Please use an API Token instead of your actual password. Also please ensure you take appropriate measures to hide this detail from any output or logs 🙈 .
The name of the release version you want to create notes for. We'll compare this to the "Fix Version".
Be noisy with output. Sometimes useful for debugging 📢.
How should we print the result. I use for slack but you're welcome to extend in other formats if you want to contribute. Can either be:
text
(default)slack-hook
e.g, pipe straight to a slack inbound hook
... --format slack-hook | curl \
-XPOST \
-H 'Content-type: application/json' \
-d @- \ https://hooks.slack.com/your/webhook/url