Add account for remote repo where usernames have '@' character

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 2.5.5
    • Component/s: REST
    • Environment:
    • Severity 2 - Major

      Prior to experiencing this issue, install sourcetree using Bitbucket cloud credentials.

      When Jira is set to use our AD user principle name, which is our email address (of the format firstname.lastname@pncc.govt.nz):

      The response message in the Edit Hosting Account dialog indicates it is hitting the rest api for http://bitbucket.pncc.govt.nz:7990/rest/api/1.0/users/firstname.lastname%40pncc.govt.nz, but the url that works is the one using the slug, which is http://bitbucket.pncc.govt.nz:7990/rest/api/1.0/users/firstname.lastname_pncc.govt.nz - but if I use the slug (firstname.lastname_pncc.govt.nz) as the username in the dialog, I get an "unauthorized" error. This fault affects all users, not just myself.

       

      When we change Jira to use a different property in AD to authenticate against, eg any one without an "@" in it such as the samaccountname, and attempt the same action, the result is as expected - we get to see the list of remote repos.

       

      In either case, if we browse to a repo page on our Bitbucket server and click Clone, sourcetree will work as expected.

       

      Initially logged on the product questions board, here.

            Assignee:
            Unassigned
            Reporter:
            markbellhouse
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: