Hi all,
I'm trying to fetch CustomField value by using JavaScript in Announcement banner. However it always returns me null, can't figure this out. I thought that maybe JavaScript runs before the HTML elements are loaded and therefore it returns null, but even if I use jQuery to ensure HTML is loaded, it still returns null...
This is the method I use to get the value:
document.getElementById('customfield_10402')
What I want to achieve is that when that field has a specific value, it displays an instructional popup message to the user(this part works).
Regards,
Matis
Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.
Register here ⬇️Online 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.