Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-78194

Adding Default Groups with a group that has comma is parsed as multiple groups

      Issue Summary

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Navigate to a UI with the old User and Group selector (such as GroupRoleActorAction!addGroups.jspa, part of System>Security>Project Roles.
      2. Attempt to add a group with a comma, such as 'ExampleGroup, Enter'
      3. The comma is then used as a delimiter for the string and causes multiple groups to be read instead of a single group.

       

       

      Expected Results

      The group should be read as-is.

      Actual Results

      The group is delimited into multiple groups, as this browser uses the comma character as a delimiter on a string to catch multiple groups in a request.

      Workaround

      Currently, there is no known workaround for this behaviour. A workaround will be added here when available. This is related to CWD-4461 as we don't suggest using any special characters (, | & .).

       

      In this example, please refrain from using ',' as this is used to add multiple groups in one action.

            [JRASERVER-78194] Adding Default Groups with a group that has comma is parsed as multiple groups

            Tested in Jira 10.1.2, reproducible as per description. 

            Also, this is not an issue with the error message. It's possible to add a group name with a comma in it, but if this group is mentioned, the group isn't added as the default group.

            Lukasz Wlodarczyk added a comment - Tested in Jira 10.1.2, reproducible as per description.  Also, this is not an issue with the error message. It's possible to add a group name with a comma in it, but if this group is mentioned, the group isn't added as the default group.

              Unassigned Unassigned
              9473a4f264f2 Nicole Reichert (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: