This a scenario in our team:
There are tow main branch in Git: Release, Develop
Scrumt metodoly is used and sprint time is one week.
Issues (Features,Improvements, BugFix,..) are on the Jira and assigned to developers on first day of sprint.
All off developers have access to develop branch and push their code during a sprint on Develop branch.
At the end of the sprint all of the done issue which are on several commit is reviewed by team leader then merged to Release branch.
and Jenkins is integrated with Git so check all test and publish the latest release on produc server.
Now I want to link all of the commits which are related to an issue and use a better way for reviewing the codes and merging them.
The Jira app called Better Commit Policy is designed exactly for this use case.
You can use it to enforce linking each commit to the corresponding issue. Or, you can enforce linking the development branch itself to the corresponding issue. It supports both strategies and more!
See the condition at the bottom that require each commit be linked to an issue that is returned by the given JQL query:
Disclaimer: this is a paid and supported app, and I'm working on this.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.