Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jira Cloud OAuth installation through Atlassian Marketplace #984

Open
mickmister opened this issue Oct 12, 2023 · 6 comments
Open

Jira Cloud OAuth installation through Atlassian Marketplace #984

mickmister opened this issue Oct 12, 2023 · 6 comments

Comments

@mickmister
Copy link
Member

mickmister commented Oct 12, 2023

Installing an OAuth app in Jira requires the admin to enable developer mode, and the app is attached to their personal Jira account. The admin then needs to "share" the app, in order to have another Atlassian account connect their MM account to the same OAuth app.

We should instead support installing the plugin through the Atlassian Marketplace https://developer.atlassian.com/platform/marketplace/creating-a-marketplace-listing

@mickmister
Copy link
Member Author

@raghavaggarwal2308 Can you or another developer please take a bit of time to determine what it will take to publish our integration to the Atlassian Marketplace? I believe this will involve hardcoding the OAuth redirect URI, which means it will only be supported on Mattermost Cloud servers. This is an expected limitation of the approach.

@raghavaggarwal2308
Copy link
Contributor

@mickmister Sure, we will look into this

@mickmister mickmister changed the title Jira Cloud OAuth installation docs is missing a step about "Distribution" Jira Cloud OAuth installation through Atlassian Marketplace Jan 24, 2024
@mickmister
Copy link
Member Author

@raghavaggarwal2308 Curious if you've learned anything about this thus far?

@raghavaggarwal2308
Copy link
Contributor

raghavaggarwal2308 commented Feb 7, 2024

@mickmister I explored quite a bit about this but could not find any proper article about publishing an oauth app to the Atlassian marketplace. Here are a few of them:
https://community.developer.atlassian.com/t/do-i-really-need-to-list-my-oauth-2-0-3lo-app-on-marketplace-to-share-with-other-people/69937
https://developer.atlassian.com/platform/marketplace/knowledge-base/listing-a-third-party-integration-on-the-atlassian-marketplace/
https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/#distributing-your-oauth-2-0--3lo--apps

According to this article, I tried publishing an app. However, I could not find any information on Google about what must be filled in the App file location field.
Looking at this https://marketplace.atlassian.com/apps/1232663/plerion-cloud-security-oauth-2-0-integration?hosting=cloud&tab=overview, we think there might be a possibility that we have to create a separate cloud app with the Oauth integration and publish that to the marketplace.

Please share if you have any thoughts on this or let us know if you want us to explore further.

@mickmister
Copy link
Member Author

@raghavaggarwal2308 Do you know if all this information is for Jira Cloud specifically, or also for Jira Server?

we have to create a separate cloud app with the Oauth integration and publish that to the marketplace.

@raghavaggarwal2308 Yes this is my understanding as well. We'll need to have the OAuth redirect URIs pointing to our MM Cloud infrastructure, so MM Cloud is the only option for Jira Cloud marketplace apps. Pretty sure that's the case

@raghavaggarwal2308
Copy link
Contributor

@mickmister I will investigate more on it and let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants