Release phases API

Create a release milestone

POST /api/v1/release_phases

Parameters
NameDescription
name *

Name of the release phase

release_id *

ID of the release to which the new release phase belongs

start_on

Start date of the release phase in format YYYY-MM-DD

end_on

End date of the release phase in format YYYY-MM-DD

phase_type

Type of phase, either 'phase' or 'milestone'

description

Description of the release phase — may include HTML formatting.

progress_source

Source for calculating progress on the release phase. Options are: progress_manual, progress_from_features, progress_from_todos, progress_from_features_completed.

progress

Progress completed on the release phase. May only be set when the progress_source is manual.

duration_source

Source for automatically calculating start and end on dates. Options are: duration_manual, duration_from_features.

Example request

POST /api/v1/release_phases

Example CURL command

curl "https://company.aha.io/api/v1/release_phases" -d '{"release_phase":{"name":"New release milestone","phase_type":"milestone","release_id":278327321,"start_on":"2019-01-01","description":"\u003cp\u003eThis is the description\u003c/p\u003e"}}' -X POST \
	-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
contentType: application/json
accept: application/json

Request body

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body