Hi
I created a forge app using ui kit, the app is mainly used in jira but in some cases its integrate with confluence as well
therefore the permissions scopes in the manifest files include both jira and confluence
in some cases there is no confluence installed and the app is not working due to the confluence permission
how can we manage permission conditions?
those are my scopes:
permissions:
scopes:
- storage:app
- read:jira-work
- write:jira-work
- read:content-details:confluence
- write:content:confluence
thanks
Dar
Hi @dar.kronenblum,
I’m afraid there is no way to specify permissions per product of manage them conditionally.
Thanks,
Vitalii
@dar.kronenblum let me also add that, while cross-product scopes are allowed in the manifest, the
Marketplace doesn’t currently support them as stated in this paragraph: https://developer.atlassian.com/platform/marketplace/listing-forge-apps/#what-if-my-app-supports-multiple-products-
If the plan is to publish this app to the Marketplace, the current option is to publish two separate listings. To overcome the problem described here, each one can only have the required scopes for the corresponding product.
Hope this helps,
Caterina
Hi, @CaterinaCurti
Unfortunately, the link is no longer available. Could you provide an update on whether it’s still impossible to use multiple scopes within a single app that’s been published on the Marketplace?
For example, is there any way now to use Confluence scopes within an app that’s already been released on the Jira Marketplace? Publishing a separate app in the Confluence Marketplace could be a workaround, but it seems there’s no option to re-publish the same app in a different Marketplace.
If this is indeed the case, it seems there would be little reason to use any cross-scopes in Forge apps, as there’s no practical way to leverage them in production once the app is published through the Marketplace.
Thanks for any clarity you can provide on this!
Isn’t this fixed @AdamMoore or just for Jira and JSM?
Hi @kapitonik,
The content on the page (https://developer.atlassian.com/platform/marketplace/listing-forge-apps) is still the same and I can confirm that it is not possible to publish one app across for different products.
The additional information is available as part of the “What if my app supports multiple products?” paragraph.
Caterina
@ppasler also confirming that it works fine for the various flavours of Jira, so an app for Jira and JSM is supported.