REST API /rest/api/2/group/member returns a 500 error when the groupname parameter includes curly braces {}

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 10.0.0, 10.3.12
    • Component/s: REST API
    • None
    • 10
    • 1
    • Severity 3 - Minor

      Issue Summary

      REST API /rest/api/2/group/member returns a 500 error when the groupname parameter includes curly braces {}

      Steps to Reproduce

      1. Setup Jira datacenter version 10.x.x version.
      2. Create a new group with name containing {} example :"group{}test" and add users to the group
      1. Make a rest api call to the API endpoint "rest/api/2/group/member?groupname=group{}test"

      Expected Results

      • API displays the actual resutls in JSON format.

      Actual Results

      • Jira API fails with an error "Sorry, we had some technical problems during your last operation."
      Java.lang.IllegalArgumentException: Illegal character "}" at position 19 is not allowed as a start of a name in a path template "groupname=%22group{}test%22". 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Deepak R
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: