...
The following endpoint can be used to grab progressions available to a given objectresource.
Code Block | ||
---|---|---|
| ||
GET /:resource/:resource_id/progressions |
Where resource and resource_id describe the object you wish to progress. A list of available resources can be found on the Progressions page.
Info | ||
---|---|---|
| ||
For a user to perform an interaction on a progression they MUST have the process permission or be a manager (or assignee for tasks) of the object. The list progression actions endpoint will NOT return progressions on objects that do not meet these requirements. |
Handling the response
Below is a table of response fields.
...
Code Block | ||||
---|---|---|---|---|
| ||||
<data> <meta message="Everything executed as expected." more_info="https://affinitylive.jira.com/wiki/display/APIS/Status+Codes#ok" status="ok"/> <response id="133" title="New Ticket"> <status id="2" color="yellow" standing="open" title="Open"/> </response> <response id="139" title="Close Ticket"> <status id="4" color="blue" standing="closed" title="Closed"/> </response> <response id="140" title="Waiting For Client"> <status id="6" color="orange" standing="open" title="Waiting for Client"/> </response> </data> |
For a complete sample, please see the progressions page.