Hi everyone,
Is it possible in a Forge app to show a custom notification message which is called inside the Forge trigger? Just like the attached image below.

Hi everyone,
Is it possible in a Forge app to show a custom notification message which is called inside the Forge trigger? Just like the attached image below.

Hi, we recently released the ability for Custom UI apps to create flags using the showFlag method on the Custom UI bridge.
That’s great! Thank you for your response ![]()
Hi @AdamMoore, Good day!
Turned out that we cannot use this showFlag function in our use case. Basically the idea is, using Forge trigger we declare a function inside src/index.js that will listen to Jira events, eg. Create issue, update issue, etc. and inside the function we will send request to our Third-party Web API, depending on the response we will show a notification message but turned out @forge/bridge cannot be accessed inside the src/index.js.
I also came across on this discussion which is related with this https://community.developer.atlassian.com/t/cant-deploy-forgui-with-forge-bridge-component/47246/14
My question is, is there any alternative that we can use in our case to show notification message?
Hi @RoiLarrenceAmatong , did you ever find a workaround for this? We’d like to do something similar - essentially trigger a notification for a different user in our backend, and have users be notified without having to open our forge app.
Email would also work, but Forge (as of today) not having access to email addresses makes that a non-starter.
Hi there, something that might reveal useful for this use case is the Announcement Banner API. This can’t seem to target specific users, but for broadcasting messages to all users that would work in a trigger.
While the Announcement Banner is a pleasant improvement, what remains unanswered is the the question for showflags triggered to the user by an event (e.g. after creating a worklog). Did someone manage to achieve this?
@DavidIhl & all:
I think you might find this post useful (Forge App Jam #4 – Turning Forge Realtime Events i…).
It contains a high level description of what we built to show a notification in response to a trigger (link issue created in this case but the same pattern can be used for any event). The event is only shown on the specific issue and to the specific user who triggered the link creation. This is part of the logic of the app and who receives the notification can be defined by changing the signature of the Realtime API.
This was presented as part of 3 live coding sessions and the links
The code is public and, for the final app, can be found in the Ep4_ShowFlag_PopUp folder in the Bitbucket repository.
Edit: I’ve now also written a “reference architecture” article that should help for the ones looking to add this feature to their app. It also contains some best practices and considerations.
I hope this helps,
Caterina
Maybe it can helps someone else: forge/bridge is a frontend package then showFlag should be used in a react component like it’s used in the @CaterinaCurti project here.
I’ve now also published an article that might help getting a better understanding of how this works and can used or adapted to your use case:
You can find it here:
(I’ll add it to the post above too but wanted to let the ones who are watching this thread know)