How to specify version with git smart commits?

痴心易碎 提交于 2020-01-14 01:42:49

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!