Open edgariscoding opened 11 months ago
There is some documentation about this at https://forum.sentry.io/t/how-to-configure-jira-cloud-in-your-on-premise-sentry/6720, but it requires a atlassian developer account which costs money: https://community.developer.atlassian.com/t/sentry-self-hosted-require-a-cloud-developer-account-paid/71217
The whole situation looks strangely broken to me.
@cweiske Yeah even Atlassian's employee is confused as to why Sentry would suggest using an Atlassian dev account for production use of Sentry. Why doesnt the Sentry for Jira app just allow the user to input the url of their Sentry server if they don't use sentry.io? weird.
Are you experiencing the same issue seen here? https://github.com/getsentry/sentry/issues/61062
@azaslavsky No, I'm not. It looks like that user is using Sentrio.io so it makes sense for the Sentry for Jira app to redirect them to sentry.io.
I'm self hosted.
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-settings-integrations for triage ⏲️
@hubertdeng123 can you please help here
I am not familiar with this area of code, so this item will need to be backlogged if it indeed is broken as is.
I just dealt with this issue myself.
https://my-sentry-install.com/extensions/jira/descriptor/
https://my-project-name.atlassian.net/plugins/servlet/ac/my-sentry-install.com.jira/post-install-sentry
in my browser)Looking at the developer the browser logs, I found something like this:
The loading of “https://my-sentry-install.com/extensions/jira/ui-hook/?xdm_e=https%3A%2F%2Fmy-project.atlassian.net&xdm_c=my-sentry-install.com.jira__post-install-sentry&cp=&xdm_deprecated_addon_key_do_not_use=my-sentry-install.jira&lic=none&cv=1001.0.0-SNAPSHOT&jwt=eyJ0eXAiOiJKV1QiLCJhbG....” in a frame is denied by “X-Frame-Options“ directive set to “deny“.
Looked something like this:
Clicking the link related to the denied directive, brought me back to my self-hosted sentry instance, where the integration was now complete.
I'm having the same issue on 24.6.0.dev0
that I installed today.
Neither installing the Sentry Marketplace app within Jira (which redirects to the cloud hosted Sentry.io instance) or the method that @franzos mentioned above (as my Jira instance has no 'Upload App' anymore as per the docs referenced work.
:(
Self-Hosted Version
23.11.0
CPU Architecture
x86
Docker Version
20.10
Docker Compose Version
2.6
Steps to Reproduce
Go to Self Hosted > Settings > Integrations > Jira and click on the Jira Marketplace button at the top right.
Expected Result
Expected to be able to set up Jira integration for my self hosted Sentry.
Actual Result
I installed the Jira app and at the end I was taken to sentry.io to log in, which is obviously incorrect.
Event ID
No response