Now we let your app render a hidden panel on a dashboard page to listen for events, poll for changes, or otherwise run code that consumes the JavaScript API. This allows your app to execute its functionality without adding unnecessary UI elements to the page.
@mszpyra can you elaborate on the reasoning for why this isn’t being added to more screens?
This seems like a trivial thing to add, given that it provides no visuals that need to be accounted for.
Nothing in Jira is trivial @ademoss could you share more context, why do you need it? how you will use it? Do you have any particular use cases in mind?
@JakubMierzewski - it’s the same use case I’ve been asking Atlassian about for about 4 years now
I have a plugin that allows Jira admins to show announcements to users. Currently this is limited to Jira Dashboards and Issue view, and I am unable to show anything on any other screen.
I was hoping that this new functionality might allow me to bridge that gap, and finally launch a dialog on other screens
Thanks for sharing! Will integration with notifications or banner extensibility work for you too? Research about apps which can work across the whole Jira is on our radar.
Let me add my 2c:
In our app we have a need to notify user about some action being done or completed in the background. I.e. imagine a ‘stopwatch’ app that allows users to start/stop timers for various tasks. When the timer finishes, we would like to show some kind of notification: on issue view pages we can do that by throwing AP.flag.create. However, if the user is currently viewing something other in Jira (i.e. board/backlog view with no issue side-view), we’re unable to notify the user.
A background script that could be plugged into others screens as well (besides issue view or dashboards) seems to be useful for that case.