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

Escalation Policy cannot be saved with special characters in its name

      Issue Summary

      When an Escalation policy is being created, if the name has special characters in it, it throws the following error:

      However, when a new Team is created with special characters in the name and the Operations functionality is accessed, an Escalation policy is auto-created with the special characters in its name that it copies over from the team name.

      This, however, causes an error as further changes in that Escalation policy cannot be made and there is no error thrown in the UI - only it can be seen via the browser tools.

      Steps to Reproduce

      1. Create a new team with the name: "Team Name & / # % *"
      2. Click on operations "Get Started" button.
      3. Try to edit an Escalation Policy with the name: "Team Name & / # % *_escalation"
      4. Without making any changes, click the "Save" button

      Expected Results

      1. The Team name should not be used to create the Escalation to begin with as it has special characters,
      2. OR there should be an error thrown on the UI to explain why the 'Save' button does not work then.

      Actual Results

      The below exception is thrown in the Browser console:

      {
      "message": "Name can only contain alphanumeric characters, dots, underscores, and dashes. Leading and trailing spaces are not allowed."
      } 

      but no error shown on UI and the Escalation cannot be saved.

      Workaround

      Remove special characters from the Escalation policy's name.

            [JSDCLOUD-16259] Escalation Policy cannot be saved with special characters in its name

            Hi everyone,

            This is Yavuz from the engineering team. We are marking this ticket as closed because it is a duplicate of https://jira.atlassian.com/browse/JSDCLOUD-16117. You can follow along the ticket there as the source of truth. Thank you again for your feedback!

            Yavuz Selim Yesilyurt added a comment - Hi everyone, This is Yavuz from the engineering team. We are marking this ticket as closed because it is a duplicate of https://jira.atlassian.com/browse/JSDCLOUD-16117 . You can follow along the ticket there as the source of truth. Thank you again for your feedback!

              Unassigned Unassigned
              mzeeshan@atlassian.com Zeeshan
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: