[PR #69] [MERGED] Fix Jira pagination with nextPageToken #97

Closed
opened 2026-10-18 21:14:20 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/oikb/pull/69
Author: @jukakoski
Created: 6/30/2026
Status: ✅ Merged
Merged: 7/17/2026
Merged by: @tjbck

Base: main ← Head: fix-jira-next-page-token-pagination


📝 Commits (1)

  • ad5c1ce fix: implement pagination for JIRA issue retrieval using nextPageToken

📊 Changes

1 file changed (+23 additions, -7 deletions)

View changed files

📝 src/oikb/connectors/jira.py (+23 -7)

📄 Description

Follow-up to #17

The Jira connector now uses the new /rest/api/3/search/jql endpoint, but pagination still used the old startAt/total model. Jira Cloud's new JQL search endpoint uses nextPageToken pagination.

This caused syncs to stop after the first 100 issues.

Changes:

  • Replace startAt pagination with nextPageToken
  • Preserve existing limit handling
  • Keep maxResults at 100 per request
  • No other connector behavior changed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/oikb/pull/69 **Author:** [@jukakoski](https://github.com/jukakoski) **Created:** 6/30/2026 **Status:** ✅ Merged **Merged:** 7/17/2026 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `fix-jira-next-page-token-pagination` --- ### 📝 Commits (1) - [`ad5c1ce`](https://github.com/open-webui/oikb/commit/ad5c1ce33b497e27f5c953e2d0c315739e051a51) fix: implement pagination for JIRA issue retrieval using nextPageToken ### 📊 Changes **1 file changed** (+23 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/oikb/connectors/jira.py` (+23 -7) </details> ### 📄 Description Follow-up to #17 The Jira connector now uses the new /rest/api/3/search/jql endpoint, but pagination still used the old startAt/total model. Jira Cloud's new JQL search endpoint uses nextPageToken pagination. This caused syncs to stop after the first 100 issues. Changes: - Replace startAt pagination with nextPageToken - Preserve existing limit handling - Keep maxResults at 100 per request - No other connector behavior changed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-18 21:14:20 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/oikb#97
No description provided.