list_changed: List Bugzilla Reports Opened or Closed in a Given Period

View source: R/list_changed.R

list_changedR Documentation

List Bugzilla Reports Opened or Closed in a Given Period

Description

Specify the type of status changes you are interested in and the limits of a time interval during which the status change must have occurred. The function will return a list of bugs matching these criteria. By default, the R bug tracker is queried.

Usage

list_changed(
  type = c("opened", "opened_confirmed", "closed", "closed_fixed"),
  from = to - 120 - 7 * 24 * 3600,
  to = Sys.time() + 60,
  exclude_components = "Wishlist",
  list_url = NULL,
  info_url = NULL
)

Arguments

type

Type of changes to list (character). See ‘Details’.

from

Starting point of search interval. Look for changes that occurred at this moment or after it. Must be character, numeric, or a value belonging to one of the date-time classes. See the description of new_since in bug_history for details.

to

Like from, but end point of time interval.

exclude_components

Don't show bugs with the component field matching one of the given character strings.

list_url

Optional URL to use for the base_url option of list_bugs. Defaults to using the R Bugzilla.

info_url

Optional URL for base_url in bug_info and bug_history. If not explicitly set, the value of this option will be derived from a user-specified list_url. Defaults to using the R Bugzilla.

Details

The type option specifies what kind of changes will be detected:

"opened"

Bug report was created during the time frame (from ... to) and is still open.

"opened_confirmed"

Like "opened", and the bug is confirmed.

"closed"

The last status change of the bug occurred during the time frame, and the bug is still CLOSED.

"closed_fixed"

Like "closed", and the resolution of the bug is FIXED.

Value

A list of bugs matching the criteria. The format is the same as used by list_bugs.

Examples

## Not run: 
fixed_jan_2017 <- list_changed("closed_fixed",
                               from = "2017-01-01", to = "2017-02-01")

## End(Not run)

mvkorpel/bugtractr documentation built on Aug. 31, 2022, 1:16 p.m.