Customer Request REST API endpoint could include the Resolution information

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • Component/s: Forge and Connect
    • None
    • 1
    • 0

      Issue Summary

      When fetching customer requests using the API documented here the resolution information is not returned in the results.

      Steps to Reproduce

      1. Try to access /rest/servicedeskapi/request/{issueIdOrKey}

      Expected Results

      The data returned includes the resolution field.

      Actual Results

      The resolution field is not returned. We can only see the status:

      "currentStatus": {
        "status": "Resolved",
        "statusCategory": "DONE",
        "statusDate": {
          "iso8601": "2023-03-24T11:47:33+0200",
          "jira": "2023-03-24T11:47:33.864+0200",
          "friendly": "Today 11:47 AM",
          "epochMillis": 1679651253864
        }
      },
      

      It would be useful to include the resolution information as well, to distinguish how the issue was closed (Resolved, Won't do, Duplicate, Declined, Cannot Reproduce)

      Workaround

      Use the base issues endpoint, which includes the resolution details as seen here:

      • /rest/api/2/issue/ {id/key}
        "resolution":{"self":"https://URL/rest/api/2/resolution/10001","id":"10001","description":"This issue won't be actioned.","name":"Won't Do"}
        

      It's also possible to consult the resolution information directly in its dedicated endpoint, as shown in the example above.

      Note: Those endpoints are not accessible to JSM customers since they fetch issue information, only normal Jira users can retrieve that.

            Assignee:
            Unassigned
            Reporter:
            Bernardo Andreeti
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: