Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Code Review with Crucible, Jira , Git

Mahdi Razavi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 25, 2019

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.

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
March 3, 2019

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:

0d5d6343-b818-4e38-a08d-99ff2795721b

Disclaimer: this is a paid and supported app, and I'm working on this.

Suggest an answer

Log in or Sign up to answer