Notifications/Toast Messages by Forge Trigger

Hello!

I am currently looking for a solution to use my implemented trigger (of my Forge Jira Cloud Plugin) to send information to the user via popup message.

During my research I came across AUI, which also allow triggering via JavaScript. (Messages - AUI Documentation)
However, an integration of AUI does not work for me.

My question(s) now would be:

  • is there an alternative solution to notify the user via toast messages?
  • Is there a way to add a webpack configuration to the Forge app? Or how can the error be fixed in the build process?
Error: Bundling failed: ./node_modules/@atlassian/aui/src/less/aui-close-button.less 1:0
Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> @import (reference) './imports/global';

Many thanks and best regards
Daniel

1 Like