Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-23170

Artifactory's JIRA SSO login fails for JIRA server 8.11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 7.6.3, 6.21.0
    • Fix Version/s: 7.12.3
    • Component/s: Crowd
    • Labels:
    • Severity:
      Medium

      Description

      Problem description: Atlassian's Jira server recently made a change to its API support. JRASERVER-70314 describes the change. This means that a specific REST API command that Artifactory uses to log people in via the JIRA/Crowd login fails.

      What is the expected behavior? Artifactory is able to support later versions of the Jira server for authentication.

      Steps to reproduce: 
      1] Install both an older Atlassian Jira server (LTS version 8.5 was tested) and the latest release (Version 8.11.1) 
      2] Configure Artifactory to connect to the Jira server (See screenshots)
      3] Find that while 8.5 works, the 8.11.1 version does not - This error is printed in the HTTP debug logs indicate that this is caused by the "/rest/usermanagement/1/config/cookie" endpoint

      #8.5.7 connection

      2020-08-22 00:00:00,627 [http-nio-8081-exec-9] [DEBUG] (o.a.h.wire :73) - http-outgoing-2588 >> "GET /rest/usermanagement/1/config/cookie HTTP/1.1[\r][\n]"

      [...]

      2020-08-22 00:00:00,637 [http-nio-8081-exec-9] [DEBUG] (o.a.h.wire :73) - http-outgoing-2588 << "HTTP/1.1 200 [\r][\n]"
      [...]
      2020-08-22 00:00:00,638 [http-nio-8081-exec-9] [DEBUG] (o.a.h.wire :73) - http-outgoing-2588 << "X-Embedded-Crowd-Version: JIRA/8.5.7[\r][\n]"

      #8.11.1 connection

      2020-08-22 00:07:39,639 [http-nio-8081-exec-6] [DEBUG] (o.a.h.wire :73) - http-outgoing-49 >> "GET /rest/usermanagement/1/config/cookie HTTP/1.1[\r][\n]"

      [...]

      2020-08-22 00:07:39,662 [http-nio-8081-exec-6] [DEBUG] (o.a.h.wire :73) - http-outgoing-49 << "HTTP/1.1 500 [\r][\n]"

      [...]

      2020-08-22 00:07:39,666 [http-nio-8081-exec-6] [DEBUG] (o.a.h.wire :73) - http-outgoing-49 << "X-Embedded-Crowd-Version: JIRA/8.11.1[\r][\n]"

      Possible workaround: Use the LTS version of Atlassian Jira for now

        Attachments

          Activity

            People

            Assignee:
            aviva Aviv Anidjar
            Reporter:
            patrickr Patrick Russell
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-23170 -
                SYNCHRONIZED
                • Last Sync Date: