Gitlab / Redmine automatic close issue with commit -


we using gitlab (7.10.2) , redmine (3.0.2).
issues managed in redmine , gitlab manages git-repositories.
set gitlab via ui far commits message 'close #234' clickable , pointing corresponding redmine ticket website.
want achieve tickets in redmine directly linked gitlab commits.
if using internal gitlab issue system , set commit-message ‘close #234’ ticket 234 automatic closed , linked commit. redmine issue service system not able automatic close issues commits or have information in redmine.
knows how can modify gitlab and/or redmine close redmine tickets gitlab commits?

you can use redmine issue tracker setting redmine service in gitlab (in project -> services -> redmine -> fill urls, , set active). if works, when press "new issue" button in gitlab, redirected redmine new issue page. in gitlab should have webhook inform redmine new push repo. can set in settings "in project -> settings -> web hooks" (how, see here).

in redmine go administration -> settings -> repositories. check referencing keywords. "closes" or "close" should in list. in same tab there table @ bottom, choose tracker, fixing keyword (closes, close), set applied status "closed", , choose appropriate amount of % done (100%).

similarly can set other keywords change status in redmine tickets.

use redmine_gitlab_hook keep redmine repo up-to date.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -