Internal function to fetch milestones from a GitLab project using the GitLab API.

get_milestones_gl(
  project_id,
  state = c("open", "opened", "closed", "all"),
  verbose = TRUE,
  ...
)

Arguments

project_id

Integer. GitLab project ID(s). Can be a vector to select multiple projects.

state

Character string that is either by default "open" (or opened) if you want to fetch only open issues (or milestones), "closed" if you want to fetch only closed issues (or milestones) or "all" if you want to fetch all issues (or milestones) (closed and open).

verbose

Boolean indicating whether to print additional information.

...

Additional arguments to connect to the GitLab as gitlab_url and private_token. (See the documentation of get to have more information on theses parameters)

Value

A data frame of class MilestonesTB containing milestone information:

  • source,

  • title,

  • description,

  • due_on,

  • closed_at,

  • creator,

  • state

  • nb_issues_open,

  • nb_issues_closed,

  • repo,

  • owner,

  • url.