user directory synchronization fails when Jira instance has 20 or fewer groups

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 9.12.21, 10.3.22
    • None
    • 9.12
    • 3
    • Severity 3 - Minor
    • 40

      Issue Summary

      When Jira is setup as a User Server, an error can occur causing user directory synchronization fails when Jira instance has 20 or fewer groups. The sync completes successfully when Jira has more than 20 groups.

      Steps to Reproduce

      • Setup Jira DC 10.3.21+ as a User Directory (Jira User Server).
      • In Confluence, add Jira as a User Directory
      • Trigger a Full Synchronization from the Confluence User Directories page.

      Expected Results

      User directory synchronization between Confluence and Jira DC should complete successfully regardless of the number of groups configured in Jira.

      Actual Results

      In the atlassian-jira.log, you may observe the following error:

      Application name was not set as an attribute in the HttpSession
      

      Workaround

      Add the following JVM argument to Jira's setenv file and restart services for it to take affect

      -Datlassian.oauth2.provider.invalidate.session.enabled=false
      

      Alternatively, add more than 20-groups to your Jira environment

              Assignee:
              Patryk
              Reporter:
              Zack Heaton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: