Getting error while installing jira forge app

Aditi Bhalawat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 24, 2024

Could any one heIp me figure this out ?

I have created a jira forge app with permissions in manifest.yml ->

permissions: 
scopes:
- manage:jira-configuration

- storage:app

- read:jira-user

- read:jira-work

- read:issue:jira

- write:jira-work

When I am running forge install --verbose
I am getting error as

 ▶️ GraphQL https://api.atlassian.com/graphql 
Query: query forge_cli_getInstallationTask($id: ID!) {
appInstallationTask(id: $id) { state errors { message extensions { errorType statusCode } } } } Variables: { "id": "b46dbf26-b90a-449c-96f0-1d8e4e31e44f" }
◀️ GraphQL Request ID: 49ea9488afdb41b080d56193230659c3 Result: { "appInstallationTask": { "state": "FAILED", "errors": [ { "message": "An unexpected error occurred", "extensions": { "errorType": "INTERNAL_SERVER_ERROR", "statusCode": 500 } } ] } } Error: An unexpected error occurred

1 answer

0 votes
Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 25, 2024

Hi @Aditi Bhalawat 

I am unsure if that's the case, but the manifest should be well-formed. The snippet you attached does not seem well-structured, but of course it may be because of a copy-paste issue.

app:
id: your-app-id
name: your-app-name

modules:
jira:adminPage:
-key: your-app-key
function: main
title: "Your App Title"

permissions:
scopes:
- manage:jira-configuration
- storage:app
- read:jira-user
- read:jira-work
- read:issue:jira
- write:jira-work

I'd also suggest to use the latest version of forge cli

npm install -g @forge/cli@latest

I strongly recommend posting this question on the Atlassian Developer Community you may have better answers there.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events