Custom rest resource endpoint works but breaks on jira 11

Hello Team

Jira 10 plugin’s custom rest resource endpoint works but breaks on jira 11.

Any changes / help appreciated

% curl -XGET "http://localhost:8080/rest/xadmin/1.0/form/user/admin/configuration" -H "Authentication: Bearer xxxxxxynpx/RHtqv"

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>404</status-code><message>HTTP 404 Not Found</message></status>
%

Did you figure this out? Seeing exactly the same behavior.

Thanks

I also had similar issues with Jira 9-10 upgrade, but that time it was related to annotating with @UnrestrictedAccess etc. Back then, this guide was useful for troubleshooting: Bitbucket. You may still have hit an error that is documented there.

I think I have seen similar behavior and fixed this in the past also for Jira 11. Unfortunately, I did not fully document exactly what went wrong in our case with jira 11, but I am fairly certain this is related to the javax/jakarta changes and serialization. Or it might have been Spring config? I recommend checking logs (of the upm package) to see what happened during plugin initialization. Sometimes this will yield an error message with the error you are looking for.