I have exhausted all my checks and read all relevant community and support tickets.
The Confluence Jira Macro does not work properly in my setup. I can open the dialog but can neither search nor create Jira Issues from Confluence (see error msg in post title).
Application Link is set up correctly both ways with OAuth enabled and working properly. I am successfully using Jira user directory to authenticate in Confluence (Jira is primary user directory). Collaborative editing works fine.
Confluences Spaces are connected to Jira Projects in Space configuration. Users have correct roles in Jira and Confluence.
All Jira related system plugins are enabled in Confluence.
Both Jira Core and Confluence are installed on the same Windows VM. Connection is routed over SSL thru an IIS Proxy. Certificates are valid. No other issues on either Application.
Base URLs are: https://jira.<mydomain>.com and https://wiki.<mydomain>.com
Browser Console (Chrome) shows http 400 error (bad request) on URL:
https://wiki.<mydomain>.com/plugins/servlet/applinks/proxy?_=...
When I try this URL in a separate browser window, I get java.lang.NullPointerException
at com.atlassian.confluence.plugins.jira.AppLinksProxyRequestServlet.doProxy(AppLinksProxyRequestServlet.java:60)
A problem with the IIS reverse Proxy? I checked SSL Configuration in IIS and noticed, that the Jira Application was not configured to accept client certificates. So I switched that option on. This resulted in the Jira Macro to show the Create Issue dialogue - but only once. The fields where read-only. Since then, same behaviour as before.
I checked the http request parameter length in the Windows registry which was described in another thread as a possible issue. It is 4096 in length and therefore probably no issue here.
Confluence is v6.15.4 and Jira Core is v8.3.2
Any ideas are much appreciated. Thanks.
I meanwhile solved the problem by configuring the application links with oAuth with impersonation both ways. Now it works!
Hello @Thomas Wohlwend !
As I understand, you are having problems to create Jira issues via Confluence.
I have seen this issue when we were accessing Confluence and Jira on the same server and they did not have distinct Context Paths. I suspect that you might be facing the same situation.
However, since I can not be sure about the affecting issue due to the lack of insight on your Confluence server, we should start by looking at the logs from Confluence to check what is happening. If you need more information on the logs, you can check our documentation on logs here:
Since the issue that you are currently facing is a known one, we have relevant documentation that aims at the solution for this. You can look at it here:
Please, let us hear from you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Diego, thanks for taking the time.
Context path does not apply in my case. I work with subdomains, albeit on the same server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update:
I also tried the following remedies:
with this
No avail...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update:
I checked the IIS http Log and it says:
GET /sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml jqlQuery=project%20%3D%20XYZ&returnMax=true&tempMax=20&field=summary&field=type&field=link&_= <some key> &X-ARR-CACHE-HIT=0&X-ARR-LOG-ID=<session-id>&SERVER-STATUS=400 443 - <ip-adress> Apache-HttpClient/4.5.5+(Java/1.8.0_202) - 400 0 0 493
This is preceeded by some 401 - unauthorized errors
in http.sys Log it says at the same time
HTTP/1.1 POST /rest/mywork-client/1/host/verifyAuth - 411 - LengthRequired -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have seen this error once and it was a while ago so I cannot remember all the items that had to be fixed because it was a different worklife; I confluence reindexed? It was a while ago and if I remember correctly it was a combo of issues; check the browsers and the firewall and time out issues by the browers and JIRA.
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.