Skip to content

Instantly share code, notes, and snippets.

@kentokento
Last active August 29, 2015 14:16
Show Gist options
  • Save kentokento/099b251c53a115aa270b to your computer and use it in GitHub Desktop.
Save kentokento/099b251c53a115aa270b to your computer and use it in GitHub Desktop.
前回リリースからの差分コミットをJQLの形式で表示する
cd pairs.lv;git fetch > /dev/null;echo -n "https://eureka.atlassian.net/issues/?jql=project = PAIRS AND key in (";git log --oneline origin/${1}..origin/${2} | egrep -v "Merge pull request|Merge branch" | sed -e "s@^.\{8\}@@g" | egrep "^PAIRS" | sed "s/\(PAIRS-[0-9]*\).*/\1/g" | tr '\n' ',' | sed "s/,$//g";echo ") ORDER BY key ASC"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment