I am creating a "Hello World" app using Forge. The app is successfully created, but I am facing an issue while trying to deploy the app to Jira Service Management (JSM). When I run the forge deploy
command, I receive the following error:
C:\Users\destination_folder\hello_world_app>forge deploy Error: Not logged in. If a local keychain is available, run forge login, otherwise set environment variables before trying again. See https://go.atlassian.com/dac/platform/forge/getting-started/#log-in-with-an-atlassian-api-token for more.
To resolve this, I attempt to log in through the terminal by entering my email and Atlassian API token:
? Enter your email: email-address@gmail.com ? Enter your Atlassian API token: [input is hidden]
However, after pasting the API token (which is quite long), the token is hidden, and I receive the message: "Your response is needed to continue." I am unable to proceed because the token is hidden, and I can't verify if I entered it correctly.
Expected Outcome:
Environment:
how i resolve my issue ,your feedback is needed
Welcome to our Community.
It should not be related to JSM Free plan.
It seems you haven't logged in Forge with Atlassian account successfully? You could test it through forge whoami CLI command.
If you're the Jira Product admin role of JSM and use this account to login forge, then you should be able to forge deploy this JSM App.
Maybe you could use postman to test your account & API token? I think it's straight forward to copy and paste your email address & api token.
Hope it helps,
BTW, there's a specific developer community. Your question can be raised in that community. https://community.developer.atlassian.com/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.