Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7083

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dpenkin@atlassian.com Daniil Penkin
              dlahn David Lahn (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: