When I try to get details about my Jira projects, in the class JsonParseUtil, parseBasicUser method, the code look for the field "name" in the "reporter" group.
But my Json delivered doesn't contains it:
{
"self":"",
"accountId":"",
"emailAddress":"",
"avatarUrls":{
},
"displayName":"",
"active":,
"timeZone":"America\/Sao_Paulo",
"accountType":"atlassian"
}There's some update that removed the field?
I found the issue, by default nginx tries to correct the redirect location from a proxy by replacing the proxied hostname with the correct hostname. The problem is that by setting proxyName, jira was redirecting to the correct hostname already which caused the problem.
So for example when going to http://jira.example.com it would send back a redirect to http://jira.example.com/secure/Dashboard.jspa which was replaced by nginx with .example.com/secure/Dashboard.jspa
The fix for this is to add proxy_redirect off; in the location / block.
Yep, that did the trick, thank you!
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.