-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
L3 - Default
-
Affects Version/s: None
-
Component/s: backend
-
Not defined
AT:
- There is an endpoint for returning the processes along with their goals as described below
- 'timeGoals' property will be empty list initially
- 'owner' property will be null initially
- The new endpoint is documented in Confluence
GET /api/process/goals/
Response body:
[
{
"id" : "...",
"key" : "..."
"name" : "...",
"timeGoals": [
{name: 'lowerTarget', achieved: <true | false>, percentile: '', operator: '>' , value: '5', unit: 'days' , visible: <true | false>}
...
] // default as empty list
"owner": '' // can be null
}
...
]