Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-16279

Creating kb article from JSM 10.3.5 is not working if using same domain for jira and confluence

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 10.3.5
    • Knowledge Base
    • None

      Issue Summary

      Creating kb article from JSM 10.3.5 is not working if using same domain for jira and confluence.
      Below message is returned instead of showing editing draft page.

      Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page.
      

      Steps to Reproduce

      1. You must have JMS 10.3.5 and Confluence 9.2.4 to reproduce this problem
      2. Your Jira and Confluence have same domain , for example:
        1. Jira : 192.168.0.68:8080  Confluence: 192.168.0.68:8090
        2. Or when using reverse proxy,  Jira : xxx.xxx/jira  Confluence :xxx.xxx/confluence
      3. Create application link between Jira and Confluence. You need to  set authentication type as "OAuth (impersonation)" to use KB feature.
      4. Link a confluence space as KB in the setting of a JSM project
      5. Create a ticket from above JSM project
      6. Create 'create an article' link from above ticket (in the section of 'Related knowledge base articles').
      7. Input 'Article name', and choose a template, and click 'Create'

      Expected Results

      No errors, and editing draft page is shown.

      Actual Results

      The below message is return.

      Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page.
      
      

      Workaround

      You can hide the "Create article" button by adding the following code under Administration > System > Announcement Banner:

      <style>
      .js-sd-create-kb-button {
        display: none !important;
      }
      </style>
      

      Please note that this type of customization is not officially supported by Atlassian, and should be used at your own discretion and risk.

      Versions Tested

      Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below: 

      Testing Requirements Version Affected Version
      Customers Reported Version  10.3.5 (Yes / No)
      Most Recent Bug-Fix Release    
      Previous Major Release    
      Most Recent LTS    
      Previous Supported LTS    
      Other Versions..    
      (Add rows as needed)    

              Unassigned Unassigned
              rli@atlassian.com Rick Li
              Affected customers:
              3 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated: