Unable to create JIRA issues from Confluence - "You do not have permission to create issues on this JIRA server."

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Creating a JIRA issue from Confluence page by using JIRA Issue macro, the error below is displayed:

You do not have permission to create issues on this JIRA server

The following appears in the atlassian-confluence.log:

2015-02-25 14:15:50,690 WARN [http-bio-8090-exec-5] [confluence.plugins.createjiracontent.CachedJiraResourcesManager] getRemoteJiraServer Could not detect issue creation supported or not in JIRA server.
 -- referer: http://confluence-pc:8090/display/MET/METEX+Home | url: /rest/highlighting/1.0/panel-items | userName: admin
java.lang.NullPointerException

Diagnosis

This problem is most often caused by the cookie being overwritten when accessing JIRA, Confluence or potentially any other applications with a web-login on the same domain or IP, such as with the below configuration:

Cause

As the cookies are not distinguished by the port number, the browser will overwrite the previous cookie and it will appear as if the user has been logged out of the previous application. Given that this is browser-specific, it will not be visible within the application logs.

We have an improvement request to better handle this in product tracked under  JRA-36960 - Configure Tomcat so that it has a unique SESSION_COOKIE_NAME to prevent session overwriting for JIRA OPEN .

Resolution

  1. Add Context path both in Confluence and JIRA. 
  2. Update the Base URL in both Confluence and JIRA accordingly.
  3. Delete and recreate the application links

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.