Unfortunately API doesn't work
JIRA.Issue.getIssueId() - returns null (for issue page view/ quick issue view modal)
JIRA.Issue.getIssueKey() - returns null (for issue page view/ quick issue view modal)
I have the same problem.
I found that when page has loaded, print "JIRA.Issue.getIssueKey()" in console and then i can return the correct issueKey.
Maybe the timing are different between issue page and next-gen page.
it's always null for me, not depends that page loaded or loading
not depends on page opened directly by link or through navigation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.