Join thousands of Atlassian users for an unforgettable week of knowledge sharing, product training, networking, and fun. Atlassian Summit is Oct 10 - 13 in San Jose, CA – Register soon before tickets sell out.
Thanks for any help.
Ok so I found the answer for this finally.
For Project tab panels is used
and for the User profile tab panels
where tabId is the ID of the tab which we are switching to and function is the function that is to be executed after the tab is loaded.
The linked page mentions JIRA.Events.NEW_CONTENT_ADDED - did you try that?
Yes I did and tried everything mentioned on that page. It seems that I have some problems with <context>atl.general</context> as it caused some issue with plugin loading and it did't load while starting JIRA