The permission is not applied even though I declared the required permissions on manifest.yml file

HI Team.
I’m following the Bitbucket example.
I’ve added these permissions but I cannot create jira ticket through the Feedback confluence macro.
permissions:
scopes:
- write:issue:jira
- write:comment:jira
- write:comment.property:jira
- write:attachment:jira
- read:issue:jira
- read:issue-type:jira
- read:project:jira
- read:project.property:jira
- read:user:jira
- read:application-role:jira
- read:avatar:jira
- read:group:jira
- read:issue-type-hierarchy:jira
- read:project-category:jira
- read:project-version:jira
- read:project.component:jira

The error says but these are already declared in the yml file.

How can I solve this problem?

1 Like

Hi @garylee ,

Due to some complexities in the way Forge works when making cross-product API calls, you must install the app in both Confluence and Jira within the same site to make it work.

So in the forge install list command you should see something like this:


Showing all the current installations of your app:
┌──────────────────────────────────────┬─────────────┬──────────────────────┬────────────┬─────────┐
│ Installation ID                      │ Environment │ Site                 │ Product    │ Version │
├──────────────────────────────────────┼─────────────┼──────────────────────┼────────────┼─────────┤
│ xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx │ development │ forge1.atlassian.net │ Confluence │ Latest  │
├──────────────────────────────────────┼─────────────┼──────────────────────┼────────────┼─────────┤
│ xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx │ development │ forge1.atlassian.net │ Jira       │ Latest  │
└──────────────────────────────────────┴─────────────┴──────────────────────┴────────────┴─────────┘

Please also note that cross-product API calls like this don’t currently work for apps listed on the Marketplace - https://developer.atlassian.com/platform/marketplace/listing-forge-apps/#what-if-my-app-supports-multiple-products-

2 Likes

thanks @HeyJoe.
I’m trying to install the same app to Jira, but forge install takes too long. I couldn’t finish installing the same app to Jira. What would be the next step I can take?

oh it failed with this error.
Error: request to GraphQL Gateway failed, reason: read ECONNRESET
could you help me to resolve this issue?