Verification of Jira web action request methods

Good morning, I’m having a problem where I have a plugin implemented in jira and with the new version the plugin don’t work and I’m getting Http error 405. I have imported “import com.atlassian.jira.security.request.SupportedMethods;” and I also have “@SupportedMethods({RequestMethod.GET})” or “@SupportedMethods({RequestMethod.POST})” this in every method needed, but it does not work correctly, it’s necessary that I need to insert something in the pom or somewhere else? Because I have already tried some dependencies that I found in this forum and doesn’t work. It should be noted that with jira 8 it has worked correctly.

2 Likes

Hi @Javier

Do you have any update/solution about this?
Thank you

I also ran into some issue getting the supportedmethod thing to work but I just had to import the package under the maven plugin:

Yes, I do this in every method that do a request in the server:
@SupportedMethods({RequestMethod.POST})
@javax.ws.rs.POST

1 Like