Skip to main content

fetch_issues_needing_triage

Function fetch_issues_needing_triage 

Source
pub async fn fetch_issues_needing_triage(
    client: &Octocrab,
    owner: &str,
    repo: &str,
    since: Option<&str>,
    force: bool,
    state: State,
) -> Result<Vec<UntriagedIssue>>
Expand description

Fetches issues needing triage from a specific repository.

In default mode (force=false), returns issues that are either unlabeled OR missing a milestone. In force mode (force=true), returns ALL open issues with no filtering.

§Arguments

  • client - The Octocrab GitHub client
  • owner - Repository owner
  • repo - Repository name
  • since - Optional RFC3339 timestamp to filter issues created after this date (client-side filtering)
  • force - If true, return all issues in the specified state; if false, filter to unlabeled or milestone-missing issues
  • state - Issue state filter (Open, Closed, or All)

§Errors

Returns an error if the REST API request fails.