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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • 5.5.1.2-bbs6, 5.5.6-bbs6
    • 5.6.1
    • None
    • None
    • Sprint 54
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: