Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I'm using two web panels in the Issue Screen, they are totally different.
They have to load depending of the project, so i use JiraHelper.getProject()
In the first panel, it works fine, jiraHelper contains the project.
But in the other, jiraHelper project is null, I saw it with Debug options.
This is making only one of my panels load, but i need both.
You can try to make a try / catch block around your code.
try {
projectId = jiraHelper.getProject().getId();
…
} catch (Exception e) {
log.error(e);
}
It's working for me. I get a nullpointerexception AND the projectId.
But I didn't understand why!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.