-
Bug
-
Resolution: Fixed
-
Low
-
3.3.0, 3.6.1
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:
- Change your JIRA base URL to contain "services" in the context path. http://localhost:8080/services/jira.
- In Stash, go to Administration > User Directories.
- Select Add Directory > Atlassian JIRA.
- For the Server URL, specify http://localhost:8080/services/jira.
- Select Test
Workaround
Change your JIRA Base URL to not contain services.