Skip to content

OJ-53536 Handle Jira Server pagination bug truncation - #442

Merged
ashleyredzko merged 1 commit into
masterfrom
OJ-53536-fix-jira-pagination-bug-truncate
Mar 27, 2026
Merged

OJ-53536 Handle Jira Server pagination bug truncation#442
ashleyredzko merged 1 commit into
masterfrom
OJ-53536-fix-jira-pagination-bug-truncate

Conversation

@ashleyredzko

Copy link
Copy Markdown
Contributor

Some versions of Jira Server limit the user search to the pagination limit of the server, so we will get back different users and different counts, but only ever out of the first X matching users. This was making us miss cases where we needed to fall back to an alphabetical lookup. This version bump includes logic to check for that case. We will now look ahead X results if we get back a 10, 100, or 1000 result set for users. We'll trigger the alphabetical lookup if the lookahead doesn't return results.

Some versions of Jira Server limit the user search to the pagination limit of the server, so we will get back different users and different counts, but only ever out of the first X matching users. This was making us miss cases where we needed to fall back to an alphabetical lookup. This version bump includes logic to check for that case. We will now look ahead X results if we get back a 10, 100, or 1000 result set for users. We'll trigger the alphabetical lookup if the lookahead doesn't return results.
@ashleyredzko
ashleyredzko requested a review from a team March 27, 2026 18:28
@sonarqubecloud

Copy link
Copy Markdown

@ashleyredzko
ashleyredzko merged commit 1583e2e into master Mar 27, 2026
7 checks passed
@ashleyredzko
ashleyredzko deleted the OJ-53536-fix-jira-pagination-bug-truncate branch March 27, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants