GraphQL Forge API not valid scopes for jira:atlassian-external

Hello, I’m working on Forge APP and I’ve created a query in GraphQL Explorer. (GraphQL Gateway) I’ve run the query and it’s working fine from the Explorer. Then I saw that the query wants jira:atlassian-external scope - (check the image below). I’ve added the scope in my manifest.yml file and when I try to deploy the app I get this error.

Invalid 'scopes' permission in the manifest.yml file - 'jira:atlassian-external'. Learn more about permissions at: https://go.atlassian.com/forge-permissions.  valid-permissions-required

This is my query:

query MyQuery($cloudId: ID = "", $key: String = "") {
  jira {
    issueByKey(cloudId: $cloudId, key: $key) {
      issueId
      childIssues {
        ... on JiraChildIssuesWithinLimit {
          __typename
          issues {
            edges {
              node {
                key
              }
            }
            totalCount
          }
        }
      }
    }
  }
}

Please tell me what I’ve missed. Thank you!

1 Like