This application demonstrates CRUD operations using Forge SQL ORM and Forge UI Kit (@forge/react). It runs as a Jira global page and uses a users table (id, name, email) in Forge SQL (MySQL) with Drizzle ORM.
See the Forge documentation for more details.
Before starting, ensure that your Forge environment is set up. Follow the Forge setup guide for instructions.
npm installforge registerforge deployforge install -s <your-site>.atlassian.netThis example allows you to:
- Add users — Form with Name and Email; data is stored in the
userstable. - View all users — DynamicTable with ID, Name, Email (pagination, loading state).
- Update users — Enter user ID and optionally new Name and/or Email to update that row.
Resolvers: createUser, fetchUsers, updateUsers. Schema and migrations: src/database/entities/schema.ts; migrations run on install and hourly.
- Use
forge deployto persist code changes. - Use
forge installonly when installing the app on a new site. - Once the app is installed, new deployments are reflected without reinstalling.
- If you change
manifest.yml(e.g. modules, triggers, egress), runforge deployagain andforge install --upgradeif needed.