Skip to content

Commit

Permalink
fix: increase the number of issues to be fetched from API
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Nov 20, 2024
1 parent 057549b commit 3f30171
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export class Jira {
const response = await this.api.issueSearch.searchForIssuesUsingJqlPost({
jql: this.JQL,
fields: ['id', 'issuetype', 'summary', 'assignee', 'comment'],
// We should paginate this, let's set 300 for now.
maxResults: 300,
});

return response.issues ?? raise('Jira.getIssues(): missing issues.');
Expand Down

0 comments on commit 3f30171

Please sign in to comment.