With forge tunnel running on your own computer, save the file and reload the Jira page: the tunnel serves your laptop’s code. Without the tunnel, or in a codespace in your browser, deploy:
RunTerminal
forge deploy
The site picks up the new version on its own. You do not need to install again.
In the last command, choose Confluence and the same developer site. After that, each major version needs forge install --upgrade for both installations.
Something went wrong
Find the message or the symptom. Each answer says why it happens and how to get going again.
That is expected, not an error. A new scope or outside host makes a new major version, which you approve. Then move each installation onto it. On your own developer site you are the admin, so you accept it yourself:
In Jira, look for Create space (on older screens Create project), usually next to Spaces in the left sidebar. Choose the Kanban template, name the space Workshop and set its key to WS. Jira may then offer extra screens, such as adding AI agents, inviting your team or connecting other tools: skip each one and don’t invite anyone, because this space is only for your practice. You should end up on the Workshop board. If you can’t create spaces at all, you are probably not on your own developer site; see Get a developer site.
Good news, even though it is red and says Error: the app is already on that site, so there is nothing to install. The CLI then tells you to run forge install again, but that would fail the same way; don’t. You install once per site and product, and every later forge deploy reaches the site by itself. If a lesson asks you to install, tick the step and carry on. Only when a deploy adds new permissions do you run forge install --upgrade, and the lesson says when.
Only a site admin can install an app, and the account you are logged in with is not an admin of that site. That usually means you picked a site that isn’t your own developer site, such as one your company or team uses. Create a developer site of your own, where you are the admin, and install there:
RunTerminal
forge site provisionforge install
The CLI also suggests sending an installation link to the site’s admin. That is the right route for a real company site, but not for this course: keep your practice app off sites other people use.
Most often the spaces at the start of the lines are off. In manifest.yml those spaces matter: they show what belongs inside what, the way an outline does. Every line you add must start with exactly as many spaces as the line it sits next to in the lesson’s change, and it must use spaces, not tabs. Compare your file with the change, line up the new lines, save, and run:
RunTerminal
forge lint
If you are still stuck, download the code after the lesson (the link at the end of each lesson) and compare its manifest.yml with yours.
Adding the web trigger made a new major version, and your installations are still on the old one, which has no web trigger. Approve the new version, upgrade the installations, then ask for the URL again:
The terminal is not in your app folder, so the command can’t find manifest.yml. This happens most often in a codespace: every new terminal, and the codespace after it restarts, opens in the workspace folder (/workspaces/forge-cloud-workspace), one level above your app. The end of the error line, manifest-file-required, says the same thing.
Move into the app folder and run the command again:
RunTerminal
cd Workshop-helperforge deploy
The prompt in the terminal shows where you are: it should end in Workshop-helper. If you gave your app another name, use that folder’s name instead.
The Forge CLI needs a newer Node.js than the one you have, and it refuses to start until you update. The message names what it accepts, for example ^24.22.1: that means 24.22.1 or any later 24. node --version shows what you have.
In a codespace or a container, or if you installed Node with nvm, install the newest Node 24 and make it the one every terminal uses:
RunTerminal
nvm install 24nvm alias default 24
Then open a new terminal and run forge --version again. On your own computer without nvm, install the current LTS version from nodejs.org (opens in a new tab) and open a new terminal.
In a codespace or a container, run course-login and paste the new token.
If you saved the token as the FORGE_API_TOKEN Codespaces secret, either run course-login (it wins over the secret), or update the secret at github.com/settings/codespaces (opens in a new tab) and restart the codespace: until then the old secret keeps being used.
A VPN or company proxy is reading your secure (HTTPS) connections on their way out, and Node does not trust the certificate it uses to do that. Disconnect the VPN and try again. If your company needs a proxy, set it for npm with the values from your IT team:
RunTerminal
npm config set proxy http://proxy.example.com:8080npm config set https-proxy http://proxy.example.com:8080
Global npm installs are trying to write to a system folder that only an administrator can change. Do not fix it with sudo: files installed with administrator rights cause more permission errors later. Instead, install Node with a version manager such as nvm (opens in a new tab), which keeps everything in your home folder, then install the CLI again as yourself.
Your terminal has an environment variable called NODE_ENV set, which changes how npm installs packages, and the CLI’s installer then misses a tool it needs. Clear it for this terminal and install again:
Update the CLI first. If it still fails, create a developer site in your browser at go.atlassian.com/cloud-dev (opens in a new tab). Either way, build on a developer site of your own, not on the site your company uses for real work: you will install unfinished versions of the app many times, and each one can change the site’s work items.
Check that the app is installed on the site you are looking at (forge install list). Then open a work item and look under its title for a small icon called View app actions (hover over the icons to see their names); select it, then Car details. Issue panels are added this way once per work item, so every new work item needs it once. The panel can take about ten seconds to load the first time, and shows a DEV badge because you are running the development version.
The variable is missing in this environment, or you have not deployed since setting it:
RunTerminal
forge variables set --encrypt API_NINJAS_KEYforge deploy
With forge tunnel running, your laptop runs the code, so the key has to be in your shell as FORGE_USER_VAR_API_NINJAS_KEY. In bash or zsh, read -s FORGE_USER_VAR_API_NINJAS_KEY && export FORGE_USER_VAR_API_NINJAS_KEY asks for it without echoing it.
A 400 that says the endpoint is “only available to premium subscribers” means the code calls a Cars endpoint a free key cannot use, such as /v2/cars. Check that src/cars/apiNinjas.js calls /v2/carfacets.
A 401 or 403 means API Ninjas did not accept the key. Copy it again from your API Ninjas account, set it again with forge variables set --encrypt API_NINJAS_KEY, and deploy.
The card reads the make and model from the start of the summary, before the first dash with a space on each side. Start the summary with a car the service knows, such as “Volkswagen Golf – oil service”, and reload. Makes of two words, such as Land Rover, work only if the helper in src/cars/summary.js lists them.
API Ninjas is not on the approved list, or the installation is still on the old major version. Check permissions.external.fetch.backend in manifest.yml, then approve and upgrade.
Jira only uses the tunnel when your browser runs on the same computer as forge tunnel. When you open Jira, your browser looks for the tunnel on your own computer. If it cannot find it, Jira shows your last deploy without any error.
You build in a codespace in your browser. The codespace runs on GitHub’s computer, so your browser never finds the tunnel. Stop the tunnel with Ctrl+C, then after each change deploy and reload:
RunTerminal
forge deploy
You changed manifest.yml. The tunnel only runs code. Stop it, deploy, then start it again.
Your browser blocks it. The tunnel works in Chrome and Firefox. Ad blockers, Brave Shields and some extensions block the connection to your own computer; turn them off for your Atlassian site. If Chrome asks whether the site may reach apps and devices on your network or this device, allow it.
Stop it with Ctrl+C first, then deploy or upgrade, then start it again. While the tunnel runs, Jira runs the code on your laptop instead of your last deploy, so if you deploy with it running you cannot tell which version you are testing. Changes to the manifest only reach the site through a deploy, never through the tunnel.
The CLI warns because the development version of an app changes often and is not meant for sites where people do real work. If the site is your own developer site, that is exactly what it is for: answer yes. If it is a site your company or team uses, answer no and install on a developer site instead.
Forge serves static/desk/build, which only exists after a build. Run npm run build:ui, then forge deploy. If it is still blank, check that resources in the manifest points at static/desk/build.
The notes have to describe faults or services. Write them plainly, one repair per sentence (“Oil service is due. The brakes squeak.”), and check the car in again. If the logs show a Forge LLM error instead, check that the llm module is in the manifest and that you approved and upgraded after adding it.
The handoff checks four things before it sends a repair on: the repair task is in your Workshop space, it has the needs-expert label, its status is exactly the one named by HANDOFF_STATUS in src/lib/config.js (by default “Approved for expert”), and it was not sent on before. The log says which check stopped it.
Rovo has to be active on the site, and the installation has to be on the version that added the agent. Deploy, approve and upgrade, then open Rovo Chat and browse agents.
Commands at a glance
Every command the course uses. Run them from the app folder.
Set up
Once per laptop, app or site.
npm install -g @forge/cli@latest
Installs (or updates) the Forge CLI on your laptop. Once, before anything else, and again when the CLI says it is out of date. Run it without sudo: installed with administrator rights, its files cause permission errors later.
forge --version
Prints the CLI version, which proves the install worked. Right after installing or upgrading the CLI.
forge login
Logs the CLI in with your Atlassian email and an API token. It asks for both. Once per laptop, or when the token expires.
forge whoami
Shows which Atlassian account the CLI is logged in as. After logging in, or when a command says you are not allowed.
forge site provision
Creates a free development site of your own, or shows the one you have. Once, during setup, if you do not have a developer site yet.
forge create
Registers a new app and copies a starter template into a new folder. It asks which template. Once, at the start of Level 1.
forge register
Gives a downloaded copy of the app your own app id. Only if you start from one of the course’s code downloads instead of your own folder.
npm install
Installs the packages listed in package.json. After creating or downloading the app, and after pulling in someone else’s changes.
forge install
Installs the deployed app on one site and product. It asks which. Once per site and product. Later deploys reach it on their own.
forge install --product confluence
Installs the same app on Confluence, on the same site. Once, in Level 2, before the app writes Confluence pages.
forge variables set --encrypt API_NINJAS_KEY
Stores a secret with the app. The CLI asks for the value without showing it. Once per environment, for the API Ninjas key (and the booking code in Level 2). Deploy afterwards.
forge variables set WORKSHOP_PROJECT_KEY WS
Stores a setting that is not secret, such as your Jira space key. In Level 2 setup, once per environment. Deploy afterwards.
forge webtrigger create
Prints the URL of a web trigger for one installation. It asks which. In Level 2, lesson 8, to find the online bookings address.
After every change
When you edit code, the manifest or the check-in desk.
npm run build:ui
Builds the check-in desk (Custom UI) into static/desk/build. Before every deploy that changes the check-in desk. From Level 2, lesson 1.
forge deploy
Uploads your code and manifest as a new version, to the development environment by default. After every change to code, the manifest or a variable.
forge tunnel
Runs your functions on your laptop while the site keeps calling them. While you work on code, so changes show on refresh without a deploy. Press Ctrl+C to stop.
After a permission change
When the manifest asks for more: new scopes or outside hosts.
forge deploy --approve MAJOR_VERSION_RULE
Deploys a version that changes permissions, which Forge treats as a new major version. When forge deploy stops because you added a scope or an outside host.
forge install --upgrade
Moves an installation onto the new major version, so the site grants the new permissions. After an approved deploy. Run it for each product the app is installed on.
Check and debug
Before a deploy, or when something looks wrong.
forge install list
Lists where the app is installed, with the version and environment. When you are not sure the app is on the right site.
forge variables list
Lists the variables of an environment. Encrypted values are hidden. To check a variable is set, and set in the right environment.
forge lint
Checks the manifest and code for problems before a deploy. After every manifest change, and whenever a deploy fails.
forge lint --fix
Adds the scopes your code needs to the manifest. After you call a new product API, before you deploy.
forge logs --since 15m
Shows what your functions logged in the last 15 minutes, including errors. When something did not happen, or happened twice.
Clean up
When you are finished.
forge uninstall
Removes the app from a site. When you are finished with the course.
Words, in one line
Each word is explained properly once, where the course first uses it. Here is the one-line version, its workshop name where it has one, and Atlassian’s own page.
Agent handoffsending a repair to the expert
When a work item labelled needs-expert reaches the “Approved for expert” status, the app sends it on once.