Set Minimum Issue Number in Gitlab

Issue

We are migrating from subversion to git and we’ve decided to use Gitlab as the web interface. We reference an issue number in our commit messages. Since we are using Gitlab’s issue tracker, the number would reset to 1. For a given project, how can I set the minimum issue number?

Solution

It looks like there is no official way to do this. I actually just used the Gitlab API in Ruby to create a bunch of dummy issues and close them. I’m sure that if I was really adventurous I could probably export the existing issues from our current VCS or something, but for our purposes it works just to do that.

Answered By – csnate

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published