-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
L3 - Default
-
Affects Version/s: None
-
Component/s: None
-
Not defined
AT:
- The endpoint for returning the processes along with their goals offers the possibility to sort by the name and the owner
GET /api/process/goals/
*Parameters: *
SortBy: 'name', // sortOrder: 'asc' //desc
Response body:
[
{
"processDefinitionKey" : "..."
"processName" : "...",
"timeGoals": [
{name: 'lowerTarget', achieved: <true | false>, percentile: '', operator: '>' , value: '5', unit: 'days' , visible: <true | false>}
...
] // default as empty list
"owner": '' // can be null
}
...
]