Created
December 5, 2017 09:55
-
-
Save tvervest/bd311ce8238b44216c2bbfebe6829092 to your computer and use it in GitHub Desktop.
A one-liner to extract JIRA ticket numbers for a specific release tag. Based on the script from step 5 from 6 steps to better release management in Jira Software (https://www.atlassian.com/blog/jira-software/jira-release-management-steps), with the addition of a requirements for tickets to be merged from the feature branch.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log <tag> --pretty=oneline | perl -ne '{ /feature\/(\w+)-(\d+)/ && print "$1-$2\n" }' | sort | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment