Interesting. This model was quite unexpected to me. I expected all the users to OAuth by themselves and have their permissions be attained by their own accounts.
In this case, I guess then I’ll need to make a master account on Sentry and one master account on Jira. Thanks!
But will it not try to create the webhook in Jira again? The problem is on the Jira side. To create a webhook you need to be Jira admin and those have access to everything. So the SAML-Token that is created is that of a Jira admin.
Maybe split up the integration into a webook part (from Jira to Sentry) and a publish part (from Sentry to Jira) that can use two different Jira-Users.
This is indeed a big problem with how the integration currently works. Sentry demands admin powers to create the webhook in JIRA. In a lot of environments this is not possible as they won’t just give me jira admin rights just to be able to sync tickets with sentry.
My suggestion would be to make the automatic creation of the webhook optional and provide some instructions. Easy enough to copy a url into the webhook field JIRA.