Skip to content

fix(issue-search): migrate to /rest/api/3/search/jql on Cloud to resolve removed API errors (closes #30)#31

Open
rosmanov wants to merge 1 commit intobadoo:masterfrom
rosmanov:fix_cloud_search_api
Open

fix(issue-search): migrate to /rest/api/3/search/jql on Cloud to resolve removed API errors (closes #30)#31
rosmanov wants to merge 1 commit intobadoo:masterfrom
rosmanov:fix_cloud_search_api

Conversation

@rosmanov
Copy link
Copy Markdown
Contributor

@rosmanov rosmanov commented Oct 2, 2025

  • Switch Cloud search to enhanced /rest/api/3/search/jql (cursor-based nextPageToken pagination).
  • Drop unsupported validateQuery and format expand as a comma-separated string.
  • Default to *navigable fields for compatibility with legacy search.
  • Keep legacy /search for Server/DC; add SEARCH_MODE_AUTO (default), ENHANCED, and LEGACY modes.
  • Emit deprecation warnings when legacy is used on Cloud.
  • Add unit tests for enhanced, legacy, and auto routing.

Fixes runtime exceptions caused by the removal of the legacy search API
per https://developer.atlassian.com/changelog/#CHANGE-2046.

…lve removed API errors (closes badoo#30)

- Switch Cloud search to enhanced /rest/api/3/search/jql (cursor-based nextPageToken pagination).
- Drop unsupported validateQuery and format expand as comma-separated string.
- Default to `*navigable` fields for compatibility with legacy search.
- Keep legacy /search for Server/DC; add SEARCH_MODE_AUTO (default), ENHANCED, and LEGACY modes.
- Emit deprecation warnings when legacy is used on Cloud.
- Add unit tests for enhanced, legacy, and auto routing.

Fixes runtime exceptions caused by removal of
the legacy search API per https://developer.atlassian.com/changelog/#CHANGE-2046.
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.

1 participant