Issues management from commit message

This suggestion is something like as a feature in Redmine/Jira trackers.

At the moment we can ability to close issues from commit message when commit pushed to default project branch. But in most cases it is not enough.

So would be great to have next settings for Gitlab issue tracker:

  1. Pattern for check issue number in commit message (by default use current pattern - #\d+ etc)
  2. Pattern for ref name (by default for default branch)

Actions:

  • reassign to - list of users
  • add labels - comma separated list of labels that will be added to issue
  • remove labels - comma separated list of labels that will be removed from issue
  • status - new status for issue (closed or open)

All actions are optional and may be configured for various project specific workflow.

Example use case:

  1. Developer A push some features to feature-branch (task labeled as "ready") and create Merge Request to master branch.
  2. Developer B (Team Lead) accept Merge Request (task labeled as "ready for test") - this can be mark for QA Team
  3. After accepting issue, Developer B push code to production branch - issue closes automatically.

P.S. Sorry for pure English :)