问题
I'm using BitBucket and Attlasian Jira. They are linked between each other so i can resolve an issues just with git comment:
git commit -m "BUG-123 #resolve #comment My comment"
My question is. Is it possible to specify fix version with smart commit feature?
回答1:
According to the JIRA DVCS plugin API documentation, there are three commands you can use:
#time
#comment
#<transition>
There is no direct command to use to select the fix version, but you could likely set up a trigger or a hook in the JIRA system that will select a fix version for you upon transition, but there's no way to do it using the defined smart commit commands.
来源:https://stackoverflow.com/questions/28056567/how-to-specify-version-with-git-smart-commits