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

Creating a team with a pipe in the name can cause issues with the policies

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Operations - Team
    • None

      Issue Summary

      While creating a new team, if you add a pipe in the name, you will not be able to edit the escalation policies because the pipe is an invalid character. 

      Steps to Reproduce

      1. Create a team with a pipe in the name, i.e., "Senior team | incidents".
      2. Enable Operations.
      3. Try to edit the escalation policy that was automatically created.

      Expected Results

      • You should be able to edit the escalation policy, or a message should appear informing you that there are invalid characters in the name.
      • We should not allow creating teams with a pipe in the name, as happens in Opsgenie.

      Actual Results

      The escalation will not save, and no messages will appear in the UI.

      On the browser dev tools, you will see the error below:

      {
          "message": "Name can only contain alphanumeric characters, dots, underscores and dashes. Leading and trailing spaces are not allowed.",
          "took": 0.017,
          "requestId": "732fac9f-a6c6-43de-ae20-4ea3805ad8d2"
      } 

      Workaround

      Rename the escalation policy and remove the pipe.

            [JSDCLOUD-16117] Creating a team with a pipe in the name can cause issues with the policies

            aonder added a comment -

            Pipe character in escalation names broke escalation updates. We should either fix the update problem or not allow pipe in the name. A bug is created for this problem, we will take it to short term backlog

            aonder added a comment - Pipe character in escalation names broke escalation updates. We should either fix the update problem or not allow pipe in the name. A bug is created for this problem, we will take it to short term backlog

              Unassigned Unassigned
              877ac19b0be8 Nataniel Rocha
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated: