Capacity investments API

Create a capacity investment on a feature

POST /api/v1/features/:feature_id/capacity_investments

Parameters
NameDescription
feature_id *

Numeric ID or key of the feature

start_date

The start date for the capacity investment in format YYYY-MM-DD

end_date

The end date for the capacity investment in format YYYY-MM-DD

date_source

The date source for the capacity investment, can be one of: manual_dates, capacity_plannable

estimate_source

The estimate source for the capacity investment, can be one of: manual_estimate, features, epics

capacity_scenario_id

Numeric ID of the capacity scenario

Example request

POST /api/v1/features/PRJ1-1/capacity_investments

Example CURL command

curl "https://company.aha.io/api/v1/features/PRJ1-1/capacity_investments" -d '{"capacity_investment":{"start_date":"2019-01-01","end_date":"2019-01-01","date_source":"manual_dates","estimate_source":"manual_estimate","estimate_values":[{"team_id":949295028,"period_start":"2019-01-01","total":5},{"team_id":949295028,"period_start":"2019-01-01","total":10},{"team_id":563889676,"period_start":"2019-01-01","total":15},{"team_id":563889676,"period_start":"2019-01-01","total":20}]}}' -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