Unable to Install Jira in an organisation in the EU region.
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- Try to install the Jira app in an organisation in the EU region following this guide: https://docs.sentry.io/product/integrations/issue-tracking/jira/
Organisation is on an sponsored plan on EU, same happened for orgs on Trial and Team plan.
Expected Result
The integration is installed.
Actual Result
The integration is not installed. Recording:
https://github.com/getsentry/sentry/assets/64906376/de5f3afe-14f1-4032-99e9-239826532c2a
Org location:
Product Area
Settings - Integrations
Link
No response
DSN
No response
Version
No response
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-settings-integrations for triage ⏲️
I'm the customer who stumbled on this today when moving (creating new) org to EU data residency 😀
Do you also happen to have the same jira workspace connected to another sentry org?
@markstory at the time of install there should not have been a sentry org associated with the same JIRA workspace. But yes, in the past the workspace was indeed connected to an (US data) sentry org.
Before attempting to install in the existing JIRA workspace and connecting to the new (EU data) sentry org, the sentry app was deleted from the JIRA workspace AND the old US org was scheduled for deletion.
I tried the install several times with removing/installing the app, following instructions etc. to the letter.
Tried reinstalling today and it worked on the first try. Unclear to say what the problem was on Friday.
Tried reinstalling today and it worked on the first try. Unclear to say what the problem was on Friday.
We delete integrations via scheduled background tasks. The successful attempt was likely after the deletion was processed.
I do have the integration installed on an organisation stored in the US.
Does it work if you uninstall Jira from the existing org? I don't know if this is documented by it might be like the Github integration where you can only connect one Sentry org per Github org.
@cathteng the Jira integration can be installed on multiple organisations (I have it installed on 2 US orgs). The problem is installing it on an EU org while it is installed on US org(s).
Is there anything we can test in mean time, or is there already a solution/work around available?
@Jeroenkeesom are you facing the same issue? This happens to organizations that have the same Jira installed on two Sentry orgs in different regions. We don't have a solution for this yet.
Yes, it is,
but we have only one sentry org active (the old one is deleted), so jira should not be linked to the us sentry but only eu one. I'm not looking for two links, but just a clean and helpdesk sent me to the linked ticket to get more info.
thank you for your help
Thanks for the context. This sounds like an organization deletion bug and not the same issue in the ticket. When an organization gets deleted the integration should get deleted as well and you wouldn't face this. Can you please send me both new and old org slugs?
Thanks for the context. This sounds like an organization deletion bug and not the same issue in the ticket. When an organization gets deleted the integration should get deleted as well and you wouldn't face this. Can you please send me both new and old org slugs?
where do you want me to post the slugs? not in this thread i assume?
@Jeroenkeesom please file a support ticket and mention this github issue.
@Jeroenkeesom Hi, I'm currently working on debugging the Jira installation failing.
I've added some more logging to try and get more info as to why the installation failed. Would you mind trying the installation flow again and letting me know when you've done so.
@Christinarlong performed the setup step a minute ago on: https://*******.atlassian.net/plugins/servlet/ac/sentry.io.jira/configure-sentry @19:54 utc
@Jeroenkeesom Sorry, do you mind doing the install again? My logging change hadn't gone out to all the necessary regions :[
done @ 0539z
Providing an update to the ticket:
- Christina will work with Jeroenkeesom on their issue but we don't think it's the same overarching issue o this ticket.
- Meanwhile she added an error message letting customers know that we don't support 2 regions Sentry orgs with the same instance of Jira
- We prioritized a longer term fix to add the support for multi-region and will provide updates here when we have better timelines.
I'm also experiencing this issue, recently moved from US to EU hosting but uninstalled the US integration from Jira 🙏
@spoyntersmith Also make sure you uninstall the Sentry app from your Jira instance and then follow our Jira setup docs. If you've already tried that or it still didn't work, please make a support ticket and include your Sentry organization slug and the Jira domain you're trying to integrate with.
Apologies, didn't realise that it needed removing from both:
- Sentry (old org) > Integrations
- Jira > Manage Apps separately
Confirmed this worked for me... 🎉
Another ticket here: https://sentry.zendesk.com/agent/tickets/148390
This is planned for May. I'll provide an updated timeline when we get closer.
Updating timeline to end of July.
related to internal ticket #154635
Related to internal ticket #155261
Another affected user: https://sentry.zendesk.com/agent/tickets/165388