sentry icon indicating copy to clipboard operation
sentry copied to clipboard

Jira Integration uses removed Jira API to search for Jira Issue to Link

Open artem-shorokhov opened this issue 2 months ago • 5 comments

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

Steps to Reproduce

  1. Configure Jira integration:
  • enable development mode in settings
  • create Jira App from the connector descriptor, e.g. https://sentry.example.com/extensions/jira/descriptor/
  • click the configuration link to finish installation in a self-hosted Sentry
  1. Test integration:
  • open any Sentry Issue
  • click on "Jira Issue"
  • switch to the "Link" tab
  • try to search for an existing Jira Issue

Expected Result

Jira Issue is returned in the search results.

Actual Result

Search results are empty.

I assume, this is because Sentry tries to call Jira API that was removed.

Error from the "sentry-web" container log:

10:04:14 [INFO] sentry.integrations.client: integration.http_response (url='https://stape.atlassian.net/rest/api/2/search/' integration='jira' status_string='410' error='410 Client Error: Gone for url: https://stape.atlassian.net/rest/api/2/search/?jql=id%3D%22ABC-123%22' org_id=3 integration_id=3 org_integration_id=3)

When I try to send request manually, error description is more telling:

{"errorMessages":["The requested API has been removed. Please migrate to the /rest/api/3/search/jql API. A full migration guideline is available at https://developer.atlassian.com/changelog/#CHANGE-2046"],"errors":{}}

I found this path in the "sentry" repo: https://github.com/getsentry/sentry/blob/25.10.0/src/sentry/integrations/jira/client.py#L36

Product Area

Settings - Integrations

Link

No response

DSN

No response

Version

25.8.0

artem-shorokhov avatar Nov 04 '25 14:11 artem-shorokhov

ENG-5821

linear[bot] avatar Nov 04 '25 14:11 linear[bot]

Auto-routing to @getsentry/product-owners-settings-integrations for triage ⏲️

getsantry[bot] avatar Nov 04 '25 14:11 getsantry[bot]

I’m experiencing the same issue. How can I update the Jira plugin? My current Jira plugin version is 1.0. Is the only solution to reinstall the plugin?

hpcnt-leo-s avatar Nov 11 '25 10:11 hpcnt-leo-s

Hello. Any update here? Thank you.

QuickS1lver avatar Nov 13 '25 10:11 QuickS1lver

Hello. Any update here? Thanks!

deepqeeb avatar Dec 08 '25 10:12 deepqeeb