Steps to reproduce
- Install Stash as a fresh install
- Press Integrate With JIRA at the admin account creation screen
- Insert the URL, Admin username and password for the Jira instance
- Check Use JIRA as my user database
Expected Results
JIRA OnDemand does not allow using JIRA as a user directory
Actual Result
The JIRA User Server will be automatically created in JIRA although it has been disabled for Cloud instances
Workaround
You can manually change the directory ID in Stash's database by identifying the directory_id for the external User Directory and then updating the value to be the Internal directory's ID:
After shutting down Stash run the below select statement and identify the directory_id for the external User directory:
Once you have identified the directory_id of the external add it to the below command to update the value:
update cwd_user set directory_id = 32769 where directory_id = <replace>;
Before doing this take a full back up of Stash and the database so you can roll back if any problems are encountered