Hi,
yesterday I built a small python script that helps during commits.
In case you’re interested, it’s on github as a public gist
https://gist.github.com/snazy/1e7223be98e4ebe608af
<https://gist.github.com/snazy/1e7223be98e4ebe608af>
Usage:
./commit-jira.py TICKET_NUM
Example:
./commit-jira.py 12345
(not CASSANDRA-12345)
It uses the JIRA REST API to get the assignee, reviewer and summary to
construct the commit msg and set the --author argument. It also opens a browser
tab with the issue.
Robert
PS: I did not test it very thoroughly - so no idea what happens, when reviewer
and/or assignee are not set.
—
Robert Stupp
@snazy