Forums

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

Avoid 405 error when building a plugin for Jira 8 and 9

Ido Zak January 17, 2023

Hey,

I am building a plugin to be used both in Jira 8 and 9, so it is compiled against Jira 8.
It has a small UI part, one page that is called with GET. 
On Jira 8 it works fine, on Jira 9 I get a 405 error. I saw that it is a part of the new features of Jira 9 here: https://confluence.atlassian.com/jiracore/preparing-for-jira-9-0-1115661092.html?_ga=2.148992754.573172118.1673786500-1632334640.1658745315#PreparingforJira9.0-xsrf

However, it is mentioned that this new feature should only affect state changing calls, and suggest to change calls to GET to avoid the problem, which is what I already do.
I saw the following: https://community.developer.atlassian.com/t/how-to-work-around-the-supportedmethod-problem/57747/1
This solution seems very cumbersome, I was hoping there is a simpler solution.

Thanks,

Ido

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events