gl_list_issues: Get issues of a project or user

Description Usage Arguments Details Examples

Description

Get issues of a project or user

Usage

1
2
3
4
gl_list_issues(project = NULL, issue_id = NULL, verb = httr::GET,
  force_api_v3 = FALSE, ...)

gl_get_issue(issue_id, project, ...)

Arguments

project

project name or id, may be null for all issues created by user

issue_id

optional issue id (projectwide; for API v3 only you can use global iid when force_api_v3 is 'TRUE')

verb

ignored; all calls with this function will have gitlab's default verb httr::GET

force_api_v3

a switch to force deprecated gitlab API v3 behavior that allows filtering by global iid. If 'TRUE' filtering happens by global iid, if false, it happens by projectwide ID. For API v4, this must be FALSE (default)

...

further parameters passed on to gitlab, may be state, labels, issue id, ...

Details

gl_get_issue provides a wrapper with swapped arguments for convenience, esp. when using a project connection

Examples

1
2
3
4
5
6
7
## Not run: 
my_project <- gl_project_connection(project = "testor"...) ## fill in login parameters
my_project(gl_list_issues)
my_project(gl_get_issue, 1)
my_project(gl_new_issue, 1, "Implement new feature", description = "It should be awesome.")

## End(Not run)

jirkalewandowski/gitlabr documentation built on May 19, 2019, 11:37 a.m.