Skip to content

Instantly share code, notes, and snippets.

@mkleucker mkleucker/issues.sh
Last active Jan 12, 2016

Embed
What would you like to do?
One liner to get a coma-separated list of all JIRA-issues between to two commits / branches / tags.
# Replace `v1` and `v2` with the correct SHAs or tags.
# Replace `PROJ` with your Jira-Project identifier.
git log --pretty=oneline v1..v2 | pcregrep -o --regexp="(PROJ-\d+)" | sort -n | uniq | tr '\n' ','
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.