Create a link from an issue to a projectPage app?

Essentially I want to be able to click a link in an issue view that will then direct to my forge apps ProjectPage (I’m using the projectPage kind of app for the full-screen benefit)

So is there a way I can put a link like this:
https://MYATLASSIANDOMAIN.atlassian.net/jira/software/projects/TEST/apps/e246da2c-2411-46b3-9a3d-9fd0c9f9af0d/822d093a-a2cb-4382-8861-7a83afa3e77b?issueKey=TEST-3

Into an issue view somewhere so if I click on it, it directs to my forge project?

I think I’ll need to make another forge app that’s one of the issuePanel or issueField kinds, but is that what I need to do? Thanks!

To be clear, clicking that link would direct to my projectPage Forge app. I don’t know if I can predict the URL unless I can do something with forge to get it.

@weegoblinsmile did you check this page. I am not sure if can solve your problem but in that tutorial they are navigating with React router from a custom UI app and it seems to change the whole browser url, maybe may be a start

The jiraProjectPage has a route attribute in the manifest

The unique identifier of the subpage. This identifier is appended to the project page URL.

See the Confluence global page doc .

The page URL is constructed in the form of: /apps/:appId/:forgeEnvId/:route. You can configure :route in the manifest.

Then you can use the product context to get the environment ID.

Gotcha, and environment ID will be the same for all apps in the same product for that instance?

Gotcha, and environment ID will be the same for all apps in the same product for that instance?

This I don’t know. It is safer to get it from useProductContext IMHO.

1 Like