Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Issues Calendar Dashboard gadget throws NoSuchMethodError

Alexandra Atanasiu
Contributor
October 29, 2024

Hi,

I am using the Jira Issues Calendar gadget in a dashboard and no mater which filter I use, I get "An internal server error occurred when requesting resource" upon saving it (Jira Data Center v 9.12.14).

By checking the Jira logs, there is a NoSuchMethodError error logged (see below).

 

If I check the ConstantsManager class in the Jira API, the getPriorityObjects() method appears to be deprecated in 7.2.0 so I would assume it has been removed in the meantime, given the error. 

Is there an alternative to the Jira Issues Calendar dashboard gadget which we can use instead? Or am I missing something else?

/rest/calendar-plugin/1.0/calendar/htmlcalendar.html [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: 'java.util.Collection com.atlassian.jira.config.ConstantsManager.getPriorityObjects()'
java.lang.NoSuchMethodError: 'java.util.Collection com.atlassian.jira.config.ConstantsManager.getPriorityObjects()'
  at com.atlassian.jira.ext.calendar.HtmlCalendar.getBasicParameters(HtmlCalendar.java:104)
  at com.atlassian.jira.ext.calendar.HtmlCalendar.getParameters(HtmlCalendar.java:88)
  at com.atlassian.jira.ext.calendar.rest.CalendarResource.getCalendar(CalendarResource.java:205)

1 answer

1 accepted

3 votes
Answer accepted
Dick
Community Champion
October 29, 2024

Hi @Alexandra Atanasiu 

It seems that Atlassian has put the calendar into a plugin:
https://marketplace.atlassian.com/apps/293/jira-calendar-plugin?tab=overview&hosting=datacenter 

 

Hope that this helps,

Dick

By voting for helpful posts and marking answers to your question, you're helping people with similar questions find a solution more quickly. Sharing is caring applies to knowledge as well :)

Alexandra Atanasiu
Contributor
October 30, 2024

Thank you, @Dick!

Indeed, it seems that we had the Jira Calendar Plugin installed but it was at v.6.1.2, incompatible with Data Center. Couldn't upgrade it to from UPM so we manually replaced the .jar plugin file with the one for v.6.1.3 and it is now working as expected.

Like • Dick likes this
Dick
Community Champion
November 4, 2024

You're welcome @Alexandra Atanasiu 

Please know that it is possible to check plug-in compatibility prior to updating Jira. 

Dick

Alexandra Atanasiu
Contributor
November 4, 2024

Hi @Dick, thanks for mentioning it.

We are currently in development, testing a future Jira update so we only verified the "main" plugins upfront and are fixing on the fly, directly in the testing environment, the other ones :-).

Like • Dick likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events