Skip to content

Commit

Permalink
Update jira_issue table to fetch 500 results per page (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthaI authored Aug 29, 2024
1 parent c41f64a commit 07d067e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jira/table_jira_issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ func listIssues(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData)
// If the requested number of items is less than the paging max limit
// set the limit to that instead
queryLimit := d.QueryContext.Limit
var limit int = 50
var limit int = 500
if d.QueryContext.Limit != nil {
if *queryLimit < 50 {
if *queryLimit < 500 {
limit = int(*queryLimit)
}
}
Expand Down

0 comments on commit 07d067e

Please sign in to comment.