-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Description
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Steps to Reproduce
- 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
- 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
hpcnt-leo-s, pandadocinfra, QuickS1lver, Joni-Lover and Peskinator
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Product Owner