Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-8194

Unable to pass validator when setting "Custom email address" if the local part of the custom email address matches the local part of the "Cloud email address" on another project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Email - Incoming
    • None

      Summary

      • When adding a custom email address to a Jira Service Desk(JSD) project as per receiving requests by email and the host portion of the email address matches the local part (the part of the email address to the left of the @ symbol i.e. for name@example.tld, the local part is "name") of the Cloud email address" of another project, you'll get a message to the effect of:
        The email address you entered is currently used by the '<project_name>' service desk. 
        Check out our troubleshooting docs for help resolving the issue.
        

      Example:

      "ITSM" Project "DA" Project
      " "

      *Please note that the email address used in our example doesn't actually exist, so the authentication step had failed, but the email address has passed validation - which is the most important step for demonstration purposes.

      Environment

      • Jira Service Desk

      Steps to Reproduce

      1. Project A: Navigate to Project settings > Email requests and check the "Cloud email address", e.g. support@dn-instance.atlassian.net..  Take note of this email address.
      2. Project B: Navigate to Project settings > Email requests
      3. Click "Add a custom email address"
      4. Enter the email address "support@dn-domain-name.tld"
      5. Enter the remaining details and try to go to the next screen

      Expected Results

      • You're presented with the next screen where a request type needs to be selected

      Actual Results

      The email address you entered is currently used by the '<project_name>' service desk. Check out our troubleshooting docs for help resolving the issue.
      

      Notes

      • In reference to the example in the "Steps to Reproduce" section, if the custom email address were "suppor@dn-domain-name.tld" - that'd work
      • HTTP request response is 400 with this message:
        {"errors":[{"errorMessage":"The email address you entered is currently used by the '<project_name>' service desk."}],"reasonKey":"sd.email.handler.uniqueName.error","reasonCode":"400"}
        
      • If the host portions on both the "Custom email address" and "Cloud email address" within the same project, then the validator will pass

      Workaround

      • Make sure that the "Cloud email address" on other JSD projects don't share the same local part of the email address as the custom email address you're attempting to add to the project.

        1. Screen Shot 2019-06-17 at 14.20.21.png
          324 kB
          Derrick Nguyen
        2. Screen Shot 2019-06-17 at 14.20.15.png
          359 kB
          Derrick Nguyen
        3. Screen Shot 2019-06-17 at 14.21.06.png
          364 kB
          Derrick Nguyen
        4. Screen Shot 2019-06-17 at 14.21.06.png
          364 kB
          Derrick Nguyen

              bdoidge@atlassian.com Brian Doidge (Inactive)
              dnguyen4 Derrick Nguyen (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: