Skip to content

fix(jira-server): bound issue search results - #124859

Open
sentry-junior[bot] wants to merge 2 commits into
masterfrom
junior/jira-server-bounded-search
Open

sentry-junior[bot] wants to merge 2 commits into
masterfrom
junior/jira-server-bounded-search

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Bound Jira Server issue-linking autocomplete requests to the first 50 results and request only the summary field.

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.py

via Christina Long.

--

View Junior Session [Sentry]

Co-Authored-By: Christina Long <60594860+Christinarlong@users.noreply.github.com>
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner September 17, 2026 23:12
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 17, 2026
Comment thread src/sentry/integrations/jira_server/client.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant