Hi all!
I'm implementing custom field.
In atlassian-plugin.xml file I've defined some web-resources required for my custom field.
If I open CreateIssue.jspa page directly -> JS loaded correctly.
But If I hit Create button and new quick edit form opened - my JS not being loaded.
Any suggestion?
The closest answer is provided in https://community.atlassian.com/t5/Answers-Developer-Questions/Strange-JavaScript-problem-in-create-screen/qaq-p/531033
Once Create button hit - in fact only new context added to page, hence I need to have some sort of init function in my JS and bind to page events like it is suggested in answer.
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) {
// Do whatever you need
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.