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
GitStats
object.- 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
TRUE
GitStats will retrieve the last result from its storage.- verbose
A logical,
TRUE
by default. IfFALSE
messages and printing output is switched off.- progress
A logical, by default set to
verbose
value. IfFALSE
nocli
progress 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")
} # }