I recently upgraded our DEV environment from JIRA 7.0.10 to 7.3.4. Everything looked great until we tried to link an issue. Now when we click on More > Link, we just get the spinning circle and nothing comes up.
Our environment is using IIS 7.5 to redirect HTTP to HTTPS and then uses AJP to reverse proxy back to JIRA. Prior to the upgrade, this setup has worked for several years without any issues. I submitted this issue to Atlassian and they had me test the functionality by bypassing IIS and going directly to JIRA. That worked, so they closed the ticket, saying they don't help with any reverse proxy or SSL issues. Awesome.
When I try to link an issue, two calls are throwing 400 Bad Request errors. Unfortunately, I can't seem to get any additional info on the errors from IIS or JIRA. These are the two links that throw the 400:
and
We're still running JIRA 7.0.10 in production, and when I try to link an issue there, I don't see these calls at all, so they appear to be new in one of the 7.x versions. Anyone have any idea what's different about these calls and why they would be failing when going through a reverse proxy?
Hi Jared,
We encountered the same problem when we upgraded to JIRA 7.3.6
The problem is with IIS and can be solved easily.
IIS enforces a maximum length for URL segments. Segments are the parts between slashes '/' in a URL. From what I could find, IIS default limit is set to 260.
However, in the URL you listed, the max segment length is 298, which exceeds IIS limit. This is considered as an invalid URL and is rejected.
To solve the problem, you can increase the limit in the registry: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters\UrlSegmentMaxLength
For more info on IIS HTTP settings, refer to https://support.microsoft.com/en-us/help/820129/http.sys-registry-settings-for-windows
Good luck!
Francis
AH!! Thank you!! I've been banging my head against this way too long. Your solution worked perfectly.
.: Jared
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot! This bugged us for a really long time.
Just a note: it appears to be necessary to reboot the machine after changing this setting for it to take effect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Francis, a really great THANK YOU! from me, as well. I had a Jira 7.5.2 installation in the same environment and observed the same problems. After applying your suggested changes, the problems (linking, create issues ...) are gone. You saved my day, too!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a standard that should be followed? I read another article that indicated to set the value to 2048. Are there any performance impacts that need to be considered?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well it turns out that thankfully (mistakenly?) the Rapid Boards were not changed at the same time, so in there the URL ends up as
https://jira/secure/LinkJiraIssue!default.jspa?id=755896&returnUrl=%2Fsecure%2FRapidBoard.jspa%3FrapidView%3D2787%26view%3Dplanning%26selectedIssue%3DTIK-2414%26versions%3Dvisible%26epics%3Dvisible&decorator=dialog&inline=true&_=1521628136117
So for those of you that can't "solve it easily" since you're not in the IT department, just use the rapid boards instead. (Select ticket, ".", "link", <enter>)
(Jira 7.4.2)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.