List all issues from all repositories for an organization or a vector of repositories.
Usage
get_issues(
gitstats,
since = NULL,
until = Sys.Date() + lubridate::days(1),
state = NULL,
cache = TRUE,
verbose = is_verbose(gitstats),
progress = verbose
)Arguments
- gitstats
A
GitStatsobject.- since
A starting date.
- until
An end date.
- state
An optional character, by default
NULL, may be set to "open" or "closed" if user wants one type of issues.- cache
A logical, if set to
TRUEGitStats will retrieve the last result from its storage.- verbose
A logical,
TRUEby default. IfFALSEmessages and printing output is switched off.- progress
A logical, by default set to
verbosevalue. IfFALSEnocliprogress bar will be displayed.
Examples
if (FALSE) { # \dontrun{
my_gitstats <- create_gitstats() %>%
set_github_host(
token = Sys.getenv("GITHUB_PAT"),
repos = c("openpharma/DataFakeR", "openpharma/visR")
) %>%
set_gitlab_host(
token = Sys.getenv("GITLAB_PAT_PUBLIC"),
orgs = "mbtests"
)
get_issues(my_gitstats, since = "2018-01-01", state = "open")
} # }