sentry icon indicating copy to clipboard operation
sentry copied to clipboard

Unable to Install Jira in an organisation in the EU region.

Open rodolfoBee opened this issue 1 year ago • 28 comments

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. 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: Screenshot 2024-04-05 at 14 11 58

Product Area

Settings - Integrations

Link

No response

DSN

No response

Version

No response

rodolfoBee avatar Apr 05 '24 12:04 rodolfoBee

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar Apr 05 '24 12:04 getsantry[bot]

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

getsantry[bot] avatar Apr 05 '24 12:04 getsantry[bot]

I'm the customer who stumbled on this today when moving (creating new) org to EU data residency 😀

kajtzu avatar Apr 05 '24 12:04 kajtzu

Do you also happen to have the same jira workspace connected to another sentry org?

markstory avatar Apr 05 '24 13:04 markstory

@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.

kajtzu avatar Apr 05 '24 13:04 kajtzu

Tried reinstalling today and it worked on the first try. Unclear to say what the problem was on Friday.

kajtzu avatar Apr 07 '24 06:04 kajtzu

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.

markstory avatar Apr 08 '24 13:04 markstory

I do have the integration installed on an organisation stored in the US.

rodolfoBee avatar Apr 16 '24 12:04 rodolfoBee

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 avatar Apr 17 '24 16:04 cathteng

@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).

rodolfoBee avatar Apr 18 '24 06:04 rodolfoBee

Is there anything we can test in mean time, or is there already a solution/work around available?

Jeroenkeesom avatar Jan 04 '25 13:01 Jeroenkeesom

@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.

sentaur-athena avatar Jan 07 '25 19:01 sentaur-athena

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

Jeroenkeesom avatar Jan 09 '25 14:01 Jeroenkeesom

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?

sentaur-athena avatar Jan 09 '25 18:01 sentaur-athena

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 avatar Jan 13 '25 18:01 Jeroenkeesom

@Jeroenkeesom please file a support ticket and mention this github issue.

sentaur-athena avatar Jan 14 '25 21:01 sentaur-athena

@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 avatar Jan 23 '25 19:01 Christinarlong

@Christinarlong performed the setup step a minute ago on: https://*******.atlassian.net/plugins/servlet/ac/sentry.io.jira/configure-sentry @19:54 utc

Jeroenkeesom avatar Jan 23 '25 19:01 Jeroenkeesom

@Jeroenkeesom Sorry, do you mind doing the install again? My logging change hadn't gone out to all the necessary regions :[

Christinarlong avatar Jan 23 '25 22:01 Christinarlong

done @ 0539z

Jeroenkeesom avatar Jan 24 '25 05:01 Jeroenkeesom

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.

sentaur-athena avatar Jan 27 '25 23:01 sentaur-athena

I'm also experiencing this issue, recently moved from US to EU hosting but uninstalled the US integration from Jira 🙏

spoyntersmith avatar Jan 30 '25 23:01 spoyntersmith

@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.

Christinarlong avatar Jan 31 '25 00:01 Christinarlong

Apologies, didn't realise that it needed removing from both:

  1. Sentry (old org) > Integrations
  2. Jira > Manage Apps separately
Image

Confirmed this worked for me... 🎉

spoyntersmith avatar Jan 31 '25 22:01 spoyntersmith

Another ticket here: https://sentry.zendesk.com/agent/tickets/148390

joemartinezsentry avatar Mar 26 '25 16:03 joemartinezsentry

This is planned for May. I'll provide an updated timeline when we get closer.

sentaur-athena avatar Mar 27 '25 20:03 sentaur-athena

Updating timeline to end of July.

sentaur-athena avatar May 05 '25 22:05 sentaur-athena

related to internal ticket #154635

ReneGreen27 avatar Jun 12 '25 19:06 ReneGreen27

Related to internal ticket #155261

ReneGreen27 avatar Jun 16 '25 16:06 ReneGreen27

Another affected user: https://sentry.zendesk.com/agent/tickets/165388

rodolfoBee avatar Oct 30 '25 14:10 rodolfoBee