How to inject js code, on load Issue tab panel?

Dmitrii June 22, 2022

I'm adding an "issue tab panel" and I want javascript to be loaded when opened.
I can add code directly to the getHtml method inside the IssueAction class, but in that case the javascript will be duplicated as many times as the Action is received.
I think this is not a correct solution and I want to load javascript only once, when opening a tab.

 

https://developer.atlassian.com/server/jira/platform/issue-tab-panel/

Is it possible to do this in "jira"?

0 answers

Suggest an answer

Log in or Sign up to answer