How a Forge app works
One diagram for the whole course. This page shows only the base: where a Forge app lives and how it gets onto your Jira site. Scroll, and the step you are reading lights up its part of the diagram. Under the diagram you see which chapter and step you are in. The Level 1 and Level 2 pages add their own parts to this same diagram.
- Your app: code and manifest.yml
The code and the Forge CLI live on your laptop.
Lives on your laptop
Your code
The JavaScript in your app folder: the frontend that draws the UI and the functions that run in the cloud.
Select any box in the diagram to see what it is.
Chapter 1 of 2
Where things live
Step 1 of 6 · Your laptop
Your laptop is where the app is made: its code sits in a folder there, and you send it to Atlassian with the Forge CLI, a command you type in a terminal window.
Runs in the Atlassian cloud
Forge app
You make one Forge app in one folder on your computer: the code, the manifest, and a list of ready-made code packages it uses. When you deploy, the Forge CLI sends a copy of it to Atlassian, and that copy is what runs in the Atlassian cloud. One app can add several things to Jira and Confluence at once, which is how this course grows the same app across both levels.
Lives on your laptop
App code
The code in that folder, written in JavaScript. You write and keep it on your laptop. Once deployed, some of it draws what people see in Jira (the screen part), and some of it runs in the cloud to do the work behind it. The manifest says which is which.
Step 2 of 6 · Browser
The browser is where people use the app: when someone opens a work item in Jira, the app’s issue panel appears on the page like any other part of Jira.
Declared in manifest.yml
Module
A module is one place where the app shows up or takes part, such as a panel on the work item view (
jira:issuePanel), or a rule that reacts when a work item changes, much like an automation trigger. Each module has its own name in the manifest.Further reading, optional: Atlassian docs on Modules (opens in a new tab)
Step 3 of 6 · Atlassian cloud
The Atlassian cloud is where the app’s code runs: the part that answers the panel, called the resolver, runs there on Atlassian’s servers, so there is no server for you to look after.
Runs in the Atlassian cloud
Forge
Forge is Atlassian’s own way to build apps for Jira and Confluence. You may know Marketplace apps that run on a vendor’s servers; a Forge app runs inside Atlassian’s cloud instead. You write the code, and Atlassian hosts it, runs it and keeps it next to your site’s data. There is no server for you to look after.
Further reading, optional: Atlassian docs on Forge overview (opens in a new tab)
Runs in the Atlassian cloud
Function
A function is a piece of the app’s code that Forge runs in the cloud when something happens: a request from the panel, a change in Jira, or a message waiting in a queue. Like an automation rule’s action, each run has a time limit.
Further reading, optional: Atlassian docs on Function reference (opens in a new tab)
Runs in the Atlassian cloud
Resolver
A resolver is the cloud code that answers the panel’s named requests. Each name, such as
getCar, is handled by one small piece of code. With each request Forge also tells it where the request came from, such as which work item the panel is on.Further reading, optional: Atlassian docs on Forge resolver (opens in a new tab)
Step 4 of 6 · Jira
Jira holds the work items that the panel appears on, on a practice site of your own.
Atlassian’s own products
Site
A site is one Atlassian address, such as
your-name.atlassian.net, with its own Jira, Confluence, users and data: the place you already administer. Apps are installed per site, just as you install a Marketplace app on one site.Step 5 of 6 · Outside Atlassian
Outside Atlassian means every website and service that is not part of Atlassian, and it is still empty, because an app may only talk to an outside service once its description lists that service.
Step 6 of 6 · manifest.yml
manifest.yml is the one file in the app’s folder that describes the app: where it shows up in Jira and what it is allowed to do, much like a permission scheme.
Declared in manifest.yml
manifest.ymlin the workshop: the customer’s signed approval
manifest.ymlis the app’s description of itself: what it adds to Jira, and what it may touch. That second list works like a permission scheme for the app. It names the Jira data the app may read or change, and any outside service it may call. Forge refuses anything the manifest does not list.In the workshop What the customer signed: the work the workshop may do, and nothing beyond it.
Further reading, optional: Atlassian docs on Manifest reference (opens in a new tab)
Chapter 2 of 2
How it gets onto the site
Step 1 of 4 · Pack
Pack. The Forge CLI packs your code and
manifest.ymltogether into one package, ready to send.Lives on your laptop
Forge CLI
The Forge CLI is a command you type in a terminal window, such as
forge deploy. It does every job between your computer and Atlassian:- It creates the app.
- It uploads new versions.
- It installs the app on your site.
- It shows the app’s log.
The course gives you every line to type and explains it the first time.
Further reading, optional: Atlassian docs on Forge CLI reference (opens in a new tab)
Step 2 of 4 · Deploy
Deploy.
forge deployuploads that package to the Atlassian cloud as a new version of the app, and from then on Atlassian hosts and runs it.Lives on your laptop
Deploy
forge deployuploads a new version of the app. Sites that already have it switch to the new version by themselves, with no reinstall, unless the new version asks for more permissions. Then an admin has to approve again, like approving a Marketplace app update that needs new access.Further reading, optional: Atlassian docs on forge deploy (opens in a new tab)
Lives on your laptop
Atlassian API token
An API token is a long, password-like code that lets a tool act as you. You may have made one for a script or an integration. The Forge CLI needs one to log in. Treat it like a password: never put it in code, a chat or a screenshot. Setup’s login step walks you through creating it.
Runs in the Atlassian cloud
Environment
Each app has separate copies, called environments:
- Development, for building. It is the only one this course uses.
- Staging, for a final check.
- Production, for real users.
It is the same idea as testing a change on a sandbox site before your production site.
Further reading, optional: Atlassian docs on Environments and versions (opens in a new tab)
Lives on your laptop
Forge MCP server
An optional helper for AI coding tools: Atlassian runs a service that gives them up-to-date Forge documentation and examples. Setup shows how to connect it if you use such a tool.
Further reading, optional: Atlassian docs on Forge MCP (opens in a new tab)
Step 3 of 4 · Install
Install.
forge installputs the app on your practice site once, so the issue panel appears on every work item in Jira.Lives on your laptop
Install
forge installadds the app to one site and one product, such as Jira. You install once per site and product. In Level 2 the app also writes to Confluence, so it is installed there too.Further reading, optional: Atlassian docs on forge install (opens in a new tab)
Atlassian’s own products
Developer site
A free Atlassian site of your own, made for building apps; you create it during setup. While you learn, you install unfinished versions again and again, and each one can read and change work items. On your own practice site a mistake costs nothing. On your company’s Jira the same mistake could change real work, and installing there needs an admin anyway.
Further reading, optional: Atlassian docs on Provision a development site (opens in a new tab)
Step 4 of 4 · Tunnel
Tunnel. While you are still building,
forge tunnellets the same function run from your laptop instead, so a change you save shows up in Jira without a new deploy.