fix(jira-server): bound issue search results - #124859
Open
sentry-junior[bot] wants to merge 2 commits into
Open
sentry-junior[bot] wants to merge 2 commits into
sentry-junior[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: Christina Long <60594860+Christinarlong@users.noreply.github.com>
Christinarlong
approved these changes
Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bound Jira Server issue-linking autocomplete requests to the first 50 results and request only the
summaryfield.This keeps the existing
/rest/api/2/search/and async search behavior while reducing response construction and payload for broad JQL text searches. It does not guarantee that a slow Jira-side full-text index query will complete quickly, but avoids returning an unbounded result set.Context: ISWF-3471
Tests:
.venv/bin/pytest -n3 -svv --reuse-db tests/sentry/integrations/jira_server/test_client.py tests/sentry/integrations/jira_server/test_search.py.venv/bin/prek run -q --files src/sentry/integrations/jira_server/client.py tests/sentry/integrations/jira_server/test_client.py tests/sentry/integrations/jira_server/test_search.pyvia Christina Long.
--
View Junior Session [Sentry]