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, ...)

Arguments

project

project name or id

issue_id

projectwide issue id (as seen by e.g. GitLab website users)

api_version

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()

Value

Global GitLab API issue id

Examples

if (FALSE) {
gl_to_issue_id(project = "<my-project>", issue_id = 1, api_version = 3)
}