How to pass context information to a Jira global page at runtime

Hello,

Could you please tell me if there is any way to pass additional context information to a Jira global page?
I would like to open the page with a button or a link from a different module and have it display ‘personalized’ information (for instance: specify an issue id as a query parameter and have it available in the view.getContext() for UI custom - I tried this, and it does not work :wink:

Thank you

You could probably pass it as a URL query parameter and get it that way. There’s not a way to add to the Forge context that I know of.

Thank you @AaronCollier for taking the time to help with this.

Unfortunately, the custom UI runs in a IFrame and I could not directly access the location of the parent. This were I got stuck.
However, I just (re)discovered view.createHistory() API that enables access to the necessary information from the parent’s location. So, I guess this is a good enough solution for my case.

Thank you

1 Like