Queries issues from a specified repository using the GitHub REST API and returns a tibble with selected fields. Includes issues that were open at the specified date or created after it.
Arguments
- owner
character GitHub user or organization name (e.g., "NewGraphEnvironment").
- repo
character Repository name (e.g., "ngr").
- date_since
character (ISO 8601 datetime or date). Issues must have been open on or created after this date.
- token
character GitHub personal access token. Defaults to
gh::gh_token(). Required to access private repositories.- fields_return
character vector of fields to return. Supports nested fields using "$" notation (e.g., "milestone$title").
Examples
ngr_git_issue(
owner = "NewGraphEnvironment",
repo = "ngr",
date_since = "2024-01-01",
token = NULL
)
#> ⠙ 37 items, page 1 | 2ms
#> # A tibble: 37 × 7
#> url title body comments_url created_at closed_at milestone.title
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 https://api.gi… Drop… "## … https://api… 2026-09-0… 2026-09-… NA
#> 2 https://api.gi… Depr… "Clo… https://api… 2026-09-0… 2026-09-… NA
#> 3 https://api.gi… Migr… "Spl… https://api… 2026-09-0… NA NA
#> 4 https://api.gi… Add … "## … https://api… 2026-04-2… NA NA
#> 5 https://api.gi… Add … "Hex… https://api… 2026-04-0… NA NA
#> 6 https://api.gi… Add … "## … https://api… 2026-02-0… 2026-02-… NA
#> 7 https://api.gi… Add … "## … https://api… 2026-02-0… NA NA
#> 8 https://api.gi… Add … "## … https://api… 2026-01-1… 2026-01-… Type-preservin…
#> 9 https://api.gi… Feat… NA https://api… 2026-01-1… 2026-01-… NA
#> 10 https://api.gi… Add … "Add… https://api… 2026-01-1… 2026-01-… Type-preservin…
#> # ℹ 27 more rows
