For _some_ of our Jira users during _some_ operations they receive an error stating "No jira/newsletter/signup error" and a javascript stacktrace.
When running
require("jira/newsletter/signuptip")on the web browser console we receive the same error for those users meaning that these resources are not present in the current context. But only for some users!
So far it looks like com.atlassian.jira.plugin.headernav.newsletter.NewsletterUserPreferencesManager#shouldShowSignupTip together with jira-components/jira-plugins/jira-header-plugin/src/main/resources/static/components/newsletter/initNewsletterSignup.js decide wether or not to include those resources. But we do not know what actually tries to use the resources during normal operation and why that process does not respect the same criteria as the shouldShowSignupTip does.
Has anyone else come across this issue and / or knows how to fix it?