ReST resource /rest/api/2/user/properties is giving erroneous response

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 9.1.1, 9.13.1
    • Component/s: REST API
    • None
    • 9.01
    • 1
    • Severity 3 - Minor

      Issue Summary

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Make a GET ReST call to the endpoint /rest/api/2/user/properties
      2. This will give output something like below:
      {
          “keys”: [
              {
                  “self”: “https://localhost:8443/rest/api/2/https://localhost:8443/rest/api/2/user/properties/epic-sum-up-user-notifications?userKey=JIRAUSER10000”,
                  “key”: “epic-sum-up-user-notifications”
              },
              {
                  “self”: “https://localhost:8443/rest/api/2/https://localhost:8443/rest/api/2/user/properties/lastViewedVignette?userKey=JIRAUSER10000”,
                  “key”: “lastViewedVignette”
              }
          ]
      } 

      Notice the URL: It has https://localhost:8443/rest/api/2/ repeated two times.

      Expected Results

      The URL should be like: https://localhost:8443/rest/api/2/user/properties/epic-sum-up-user-notifications?userKey=JIRAUSER10000”. The initial part should not be repeated twice.

      Actual Results

      Refer to point 2 in steps to reproduce.

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            Mohit Yadav (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: