400 (Bad Request) Running JIRA through IIS7

I'm running JIRA through IIS7 following the instructions found here https://confluence.atlassian.com/display/JIRA051/Integrating+JIRA+with+IIS

Every time I do something in JIRA that would return a JIRA error message such as "Field is required" I instead get a 400 (Bad Request) back from IIS.

For example, when I try to create an issue and skip a required field when I click the "Create" button nothing happens, I get no message saying that the field is required. But when I look in the console in Chrome (This happens in all broswers btw) I see the following:

POST https://myjiradomain.com/issues/secure/QuickCreateIssue.jspa?decorator=none 400 (Bad Request)

If I fill out the issue fields fully I'm able to create the issue with no problems. The only difference between the two requests is that the content type of the request where the fields are not filled out is text/html and the request where the fields are filled out is application/json. I'm not sure if this is significant but I thought I'd mention it.

Any insight on this issue would be greatly appreciated.

1 answer

1 accepted

I found the solution to this issue here http://stackoverflow.com/questions/8346836/cannot-return-custom-http-error-details-remotely.

As the solution on stackoverflow mentions all I needed to do was add errorMode="Detailed" to the web.config (see below) that's in the folder you setup in IIS for JIRA.

    <httpErrors errorMode="Detailed" />

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,847 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot