Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-477

Switch User isn't compatible with BB 6 API

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.5.1.2-bbs6, 5.5.6-bbs6
    • Fix Version/s: 5.6.1
    • Labels:
      None
    • Sprint:
      Sprint 54
    • Critical Points:
      7.6

      Description

      The Switch User script tries to use UserService#preauthenticate to switch the login, but this method was removed in Bitbucket 6 having been deprecated in 5.

      It seems like it should suffice to use the still-existing AuthenticationService#set with a SimpleAuthentication instead, since this is all that preauthenicate itself was doing.

        Attachments

          Structure

            Activity

              People

              Assignee:
              jchoules Joanna Choules
              Reporter:
              jchoules Joanna Choules
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel