Progressions allow your team to intelligently move records between statuses. The Public API currently supports automatic progressions, which skip over details requiring user interaction.
To perform an automatic progression you should:
- Determine what status progressions are available for the given object by hitting the get resource progressions endpoint. For example
GET /issues/200/progressions.json
- By looking at the title and status details, determine the appropriate progression for your action. Keep track of the progression's id.
- Update the resource by posting the auto-progression ID to the auto progression endpoint for the resource.
POST /issues/200/progressions/100/auto.json
[table of available progression endpoints]
METHOD | ENDPOINT | DESCRIPTION |
---|---|---|
GET | /:resource/:resource_id/progressions | Returns an array of available progression actions. An ID from this response can be used to progress the object to the specified status. |
[PUT|POST] | /:resource/:resource_id/progressions/:progression_id/auto | Automatically progresses the resource to the progressions next status if applicable. The updated resource is returned upon success. |
For more information, please click on the endpoint's links.