Skip to main content

linear.linear.listissues

Home > @runlightyear/linear > Linear > listIssues

Linear.listIssues() method

This API is in beta and may contain contain bugs. Can be used in production with caution.

List issues

Signature:
listIssues(props?: ListIssuesProps): Promise<ListIssuesResponse>;

Parameters

ParameterTypeDescription
propsListIssuesProps(Optional1)
Returns:

Promise<ListIssuesResponse>

Example 1

List issues created since date

const response = await linear.listIssues({
filter: { createdAt: { gt: "<date>" } }
});

const issues = response.data.issues;

Example 2

Get issue with identifier LY-123

const response = await linear.listIssues({
filter: {
team: { key: { eq: "LY" } },
number: { eq: 123 },
},
});

const issue = response.data.issues[0];