How to I call some JavaScript code when labels editor is loaded?

Sorin Sbarnea (Citrix)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 3, 2015

I am trying to extend label editor functionality and I need a way to hook some JS code when the labels editor is loaded. 

My code works now well when used in the full-page edit mode  like /secure/EditIssue!default.jspa?id=1234 but not in inline edit or the edit-popup mode. This is normal because now my code is executed at the end of page load and the former two are executed after this.

How can I hook this? (this is client side only)

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 3, 2015

Hi Sorin,

I think you need to bind JIRA.Events.NEW_CONTENT_ADDED. Please see the answer here: https://answers.atlassian.com/questions/15284855

TAGS
AUG Leaders

Atlassian Community Events