Make GET process goal list endpoint sortable by owner

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Done
    • Priority: L3 - Default
    • 3.8.0
    • Affects Version/s: None
    • Component/s: None
    • Not defined

      Currently, our api is only sortable by name since we have to values for the owner. We need to extend this after the owner property is being returned correctly so that the sortability can be applied to both name and owner. We also need to include both the ID and the name of the owner in the response from now

      GET /api/process/goals/
      

      *Parameters: *

        SortBy: 'owner', // or name
        sortOrder: 'asc' //desc
      

      Response body:

      [
          {
            "processDefinitionKey" : "..."
            "processName" : "...",
            "durationGoals": {},
            "owner": { "id": "someId", "name": "someName" } // can be null
          }
          ...
      ]
      

      AT:

      • The endpoint for returning the processes along with their goals offers the possibility to sort by the owner AND the name
      • API Docs are updated

            Assignee:
            Unassigned
            Reporter:
            Andromachi Rozaki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: