Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-6131

Service Desk password reset page does not indicate if the password does not meet the password policy requirements

    XMLWordPrintable

Details

    Description

      Atlassian Update – 6-Dec-2018

      Hello, everyone! After comparing this bug request against the known bug report JSDSERVER-5786: Service Desk customer sign up/password reset page does not indicate if the password does not meet the password policy requirements we realized that both are addressing the same scenario. We will be closing this request now and will ask you to cast your votes and add any additional feedback so we can have the impact of this issue gathered in one single request.

      Best regards,
      Amirul

      Summary

      Service Desk password page does not indicate if the password does not meet the password policy requirements

      Environment

      • Jira Service Desk 3.15.3 & Crowd 3.3.2
      • Jira Server has enabled password policy per /secure/admin/EditPasswordPolicy.jspa

      Steps to Reproduce

      1. As a Jira administrator, enable any password policy on /secure/admin/EditPasswordPolicy.jspa (default is disabled, for the sake of this test, let's try to use 'Secure' option which
        • Requires passwords to be at least 3 characters long and use at least 3 character types including at least 1 special character.
        • Rejects passwords that are even slightly similar to the previous password or the user's public information.
      2. As a JSD project administrator, go to the project administration page
      3. From the left sidebar, choose customers
      4. Then click the Add customers button in the top right corner
      5. Enter a new customer's email address to invite them to the JSD project
      6. As the customer at the other end of that email address, click the link in the email to go to Jira to setup your account
      7. Enter in a password that does not meet the password policy in place for Jira, example - previous password

      Expected Results

      This page in Jira should tell the end user that their password does not meet the password policy currently in place for this Jira site. AND The page should indicate which specific element of the password policy was not met. (In this case previous password was entered)

      Actual Results

      • Nothing happens on the page.
      • The end user is not able to continue.
      • No visible error or warning appears in the browser
      • Only when looking at the browser console log can you see a HTTP 400 error (bad request) when trying to continue. Upon inspection of a HAR file of this even can we see a json response of
        {"errors":[],"reasonKey":"The password must satisfy the password policy","reasonCode":"400"} 
        

        However this response does not have any way currently to appear to the end user.

      Notes

       

      It used to work in Jira Service Desk 3.3:

       

      Workaround

      The Jira administrator either has to

      • Convey the password requirements ahead of time to the new user OR
      • temporarily disable the password policy

      Attachments

        1. Selection_048.jpg
          38 kB
          Sergey
        2. Selection_049.jpg
          85 kB
          Sergey

        Issue Links

          Activity

            People

              Unassigned Unassigned
              soslopov Sergey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync