My code runs when AJS.toInit() loads (search for issues page), but when filter changes the page does not reload completely and my code does not run anymore.
Is there a way to solve this and leave the script running all of the time?
Thanks.
Mário.
Community moderators have prevented the ability to post new answers.
I guess that you need NEW_CONTENT_ADDED:
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function() { // your code });
If this does not work for you may try REFRESH_ISSUE_PAGE or ISSUE_REFRESHED.
Please be aware that it's better to do not depend on JIRA JavaScript as it's not documented and there is no API for developers.
Thank you @Volodymyr Krupach, NEW_CONTENT_ADDED worked fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.