How to get the IssueKey in a Portal Request Side Panel app

STI2D TERM June 3, 2022

Hi everyone,

I'm currently developping an application using the PortalRequestDetailPanel, and I need to get the issue key / id to get the values of some custom fields of the current page issue/request and display them in the side panel.

I've searched through everything but I can't find anything. I already tried to use useProductContext();

but unfortunately it's only available on the dashboard pages, and not the ones visible from the users.
So I'd like to know if there's any way to get this Issue Key / Id, of the current issue displayed, like maybe some script that I'll be able to use with the Custom UI, or something.

If you have any idea, please let me know.

Thank you.

1 answer

0 votes
kdinn July 24, 2022

Have you had a look at the tutorial? That gets an issue_id and does some processing with it.

https://developer.atlassian.com/platform/forge/call-a-jira-api/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events