Getting an Assertion error where the JIRA plugin is apparently missing its descriptor

Article ID:360032725771
1 minute readKnowledge base


  • When trying to save a job or modify a configuration for the JIRA plugin I am getting the following error:

java.lang.AssertionError: class hudson.plugins.jira.JiraGlobalConfiguration is missing its descriptor
at jenkins.model.Jenkins.getDescriptorOrDie(
at hudson.plugins.jira.JiraGlobalConfiguration.get(
at hudson.plugins.jira.JiraProjectProperty$DescriptorImpl.doFillSiteNameItems(
at java.lang.invoke.MethodHandle.invokeWithArguments(
at org.kohsuke.stapler.Function$MethodFunction.invoke(
at org.kohsuke.stapler.Function$InstanceFunction.invoke(
at org.kohsuke.stapler.Function.bindAndInvoke(
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(
at org.kohsuke.stapler.MetaClass$11.doDispatch(
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(
at org.kohsuke.stapler.Stapler.tryInvoke(
Caused: javax.servlet.ServletException



The above error is due to your Jenkins instance being unable to properly read the Global Configuration file for the JIRA plugin

Steps To Fix

CAUTION This will cause you to lose your existing JIRA global configuration

Navigate to your $JENKINS_HOME and rename the file hudson.plugins.jira.JiraGlobalConfiguration.xml to hudson.plugins.jira.JiraGlobalConfiguration.xml.bak. Then you will need to restart the Jenkins instance but will have lost the configuration from the Manage Jenkins> Configure System page. Just replace it again with the previous JIRA details and your instance should work normally again.