gl_to_issue_id: Translate projectwide issue id to global GitLab API issue id

View source: R/issues.R

gl_to_issue_idR Documentation

Translate projectwide issue id to global GitLab API issue id

Description

This functions is only intended to be used with GitLab API v3. With v4, the global iid is no longer functional.

Usage

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

## Not run: 
gl_to_issue_id(project = "<my-project>", issue_id = 1, api_version = 3)

## End(Not run)

gitlabr documentation built on Sept. 13, 2022, 5:06 p.m.