Hi everyone,
I’m trying to build a forge app using the jira:uiModifications
module to automatically set the Description field value on the Global Issue Create screen. But the UI modification doesn’t seem to apply at all — nothing is showing up, and there are no errors in the browser console or forge tunnel
terminal.
What I’ve done:
- My
manifest.yml
has the following:
modules:
jira:uiModifications:
- key: ui-modifications-example
title: “Set Description Field”
resource: uiModificationsMain
extensionContext: global-issue-create
trigger:
- key: register-uimod-trigger
function: main
events:
- avi:forge:installed:app
function:
- key: main
handler: index.run
resources:
- key: uiModificationsMain
path: static/uimod/build
permissions:
scopes:- manage:jira-configuration
- read:jira-user
- read:jira-work
- write:jira-work
- read:project:jira
- read:issue-type:jira
2. My backend `index.js` registers the UI Modification via `POST /rest/api/3/uiModifications` using hardcoded project and issue type IDs.
3. In the frontend `App.jsx`, I have:
import { uiModificationsApi } from '@forge/jira-bridge';
console.log('[UI Mod] Loaded');
uiModificationsApi.onInit(({ api }) => {
console.log('[UI Mod] onInit fired');
const desc = api.getFieldById('description');
if (desc) {
desc.setValue('Hello from UI Mod!');
console.log('[UI Mod] Description set');
} else {
console.warn('[UI Mod] Description field not found');
}
return ['description'];
});
- I’ve built the frontend (
npm run build
), deployed (forge deploy
), and installed the app (forge install
). I’m runningforge tunnel
.
Problem:
- The app deploys with no error.
- Nothing shows up or changes when opening the Create Issue screen.
- No logs appear in the browser or terminal (
forge tunnel
). window._jira
is undefined in the browser console.
What I’ve tried:
- Confirmed my project is company-managed.
- Verified issue type and project IDs.
- Rebuilt, reinstalled, redeployed multiple times.
- Added debug logs — none are printed.
- Tried both
global-issue-create
andissue-create
inextensionContext
.
Ask:
What could be preventing the
jira:uiModifications
app from loading or executing on the Global Issue Create screen?
Is there anything else I should check or configure?
Any guidance is appreciated