Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/GitHubClients/IssueClient.ts>IssueClient#getIssues

Various HTTP clients for miscellaneous use.
Go to Latest
method IssueClient.prototype.getIssues
import { IssueClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/GitHubClients/IssueClient.ts";

Gets the given page of issues where the page quantity matches the given qtyPerPage, in a repository with a name that matches the given IssueClient.repoName, with the given issue state, labels, and in a milestone with a number that matches the given milestoneNumber.

Parameters

optional
page = [UNSUPPORTED]

The page of results to return.

optional
qtyPerPage = [UNSUPPORTED]

The total to return per page.

optional
state: IssueOrPRState = [UNSUPPORTED]

The state of the issue.

optional
labels: string[] | null

The labels to filter by. A null or empty list will not filter the results.

optional
milestoneNumber: number | null

The milestone number to filter by. A null value will not filter the results.

Returns

Promise<IssueModel[]>

A group of issues.