Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-40509

JIRA user server should not be able to be created via REST in OnDemand/Cloud

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Steps to reproduce

      1. Install Stash as a fresh install
      2. Press Integrate With JIRA at the admin account creation screen
      3. Insert the URL, Admin username and password for the Jira instance
      4. 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:

      SELECT * FROM cwd_user;
      

      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

            [JRASERVER-40509] JIRA user server should not be able to be created via REST in OnDemand/Cloud

            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS New: 1
            Bugfix Automation Bot made changes -
            Support reference count Original: 14 New: 15
            Bugfix Automation Bot made changes -
            Support reference count Original: 15 New: 14
            Bugfix Automation Bot made changes -
            Support reference count Original: 13 New: 15
            Bugfix Automation Bot made changes -
            Support reference count Original: 15 New: 13
            Bugfix Automation Bot made changes -
            Support reference count Original: 13 New: 15
            Bugfix Automation Bot made changes -
            Support reference count Original: 15 New: 13
            Bugfix Automation Bot made changes -
            Support reference count Original: 13 New: 15
            Bugfix Automation Bot made changes -
            Support reference count Original: 15 New: 13

              Unassigned Unassigned
              dlee@atlassian.com Deric Lee (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated: