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
});
Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.
Learn moreOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.