In the docs, it says:
Subpages
By default, the
jira:projectPagemodule registers a top-level page. However, there is an option to register multiple pages using apagesorsectionsfield.Use
pagesto add individual pages to the sidebar andsectionsto group pages.The sidebar will only change the project page URL, you will need to handle routes inside your custom UI app using view.createHistory().
The trouble is, the sidebar does indeed “only change the project page URL”. The URL of the iframe containing my Custom UI single page app is not updated. The context retrieved with view.getContext() from the @Forge/Bridge doesn’t change when the sidebar links are clicked either. I can’t see any mention of messages passed to the iframe.
The docs mention adding routing to app running in the iframe but that seems to just be for navigation within the app.
The example subpage app mentioned in this post seems to no longer exist:
So… what gives? It seems I can make subpages but they don’t work. What have I missed?