This functions is only intended to be used with GitLab API v3. With v4, the global iid is no longer functional.
gl_to_issue_id(project, issue_id, api_version = 3, ...)
id (preferred way) or name of the project. Not repository name.
projectwide issue id (as seen by e.g. GitLab website users)
Since this function is no longer necessary for GitLab API v4, this must be set to 3 in order to avoid deprecation warning and HTTP error.
passed on to gitlab()
Global GitLab API issue id
if (FALSE) {
gl_to_issue_id(project = "<my-project>", issue_id = 1, api_version = 3)
}