Skip to content

Issues are not closed automatically

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

At libvirt project, we tend to put 'Resolves: $issue' into commit messages to automatically close issues when the commit is merged. For instance:

libvirt/libvirt@106d795f

libvirt/libvirt@6f3f6c0f

But despite this being recognized pattern (per docs) neither of linked issues were closed automatically and had to be closed by hand. I have not tried other keywords, maybe some of them works, maybe not.

Steps to reproduce

  1. Create an issue in a project
  2. Create a commit and put 'Resolves: $issue` into the commit message
  3. Push the commit into the master branch
  4. Observe open issue

Example Project

See links from a real project above.

What is the current bug behavior?

Issue is not closed.

What is the expected correct behavior?

Issue gets closed when the commit is merged.

Relevant logs and/or screenshots

N/A

Output of checks

N/A

Edited by 🤖 GitLab Bot 🤖