Adding JIRA User Directory With URL Context Path Containing "services" Fails

XMLWordPrintable

      Summary

      Adding a JIRA user directory that has a context path containing "services" fails. When building the Crowd URL, everything including and after "services" is removed.

      For example:
      JIRA Base URL: http://localhost:8080/services/jira
      URL Stash tries to use: http://localhost:8080/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=1&expand=user

      JIRA Base URL: http://localhost:8080/atlassian/services/jira
      URL Stash tries to use: http://localhost:8080/atlassian/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=1&expand=user

      Steps to Reproduce:

      1. Change your JIRA base URL to contain "services" in the context path. http://localhost:8080/services/jira.
      2. In Stash, go to Administration > User Directories.
      3. Select Add Directory > Atlassian JIRA.
      4. For the Server URL, specify http://localhost:8080/services/jira.
      5. Select Test

      Workaround

      Change your JIRA Base URL to not contain services.

            Assignee:
            Daniil Penkin
            Reporter:
            David Lahn (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: