Initiatives

Create an initiative

post/products/{product_id}/initiatives

Request

Path parameters

product_idstring required

ProductId identifier

Request body

Example request

{
  "initiative": {
    "name": "Smarter initiative"
  }
}

Response

Successful operation

Example response

{
  "initiative": {
    "id": "6776881149491433987",
    "name": "Initiative 3",
    "reference_num": "PRJ1-S-251",
    "status": "not_started",
    "effort": 95,
    "value": 59,
    "presented": true,
    "color": "#397e82",
    "start_date": null,
    "end_date": null,
    "position": 3,
    "score": 2,
    "created_at": "2019-01-01T00:00:00.000Z",
    "updated_at": "2019-01-01T00:00:00.000Z",
    "product_id": "131414752",
    "progress": 0,
    "progress_source": "progress_manual",
    "duration_source": "duration_manual",
    "url": "https://company.aha.io/initiatives/PRJ1-S-251",
    "resource": "https://company.aha.io/api/v1/initiatives/PRJ1-S-251",
    "project": {
      "id": "131414752",
      "reference_prefix": "PRJ1",
      "name": "Project 1",
      "product_line": false,
      "created_at": "2019-01-01T00:00:00.000Z",
      "url": "https://company.aha.io/projects/PRJ1",
      "workspace_type": "product_workspace"
    },
    "workflow_status": {
      "id": "53968949",
      "name": "Not Started",
      "position": 1,
      "complete": false,
      "color": "#dce7c6",
      "workflow_status_category": null
    },
    "description": {
      "id": "6776881149493898550",
      "body": "",
      "notable_id": "6776881149491433987",
      "notable_type": "Initiative",
      "editor_version": 2,
      "created_at": "2019-01-01T00:00:00.000Z",
      "updated_at": "2019-01-01T00:00:00.000Z",
      "attachments": []
    },
    "attachments": [],
    "assigned_to_user": {
      "default_assignee": true,
      "id": "689956296",
      "name": "Henry Humpty",
      "email": "no-reply@aha.io",
      "created_at": "2019-01-01T00:00:00.000Z",
      "updated_at": "2019-01-01T00:00:00.000Z"
    },
    "comments_count": 0,
    "goals": [],
    "key_results": [],
    "score_facts": [],
    "integration_fields": [],
    "workflow_status_times": [
      {
        "status_id": "53968949",
        "status_name": "Not Started",
        "started_at": "2019-01-01T00:00:00.000Z",
        "ended_at": null
      }
    ],
    "created_by_user": {
      "id": "1020675218",
      "name": "Mary Humpty",
      "email": "no-reply@aha.io",
      "created_at": "2019-01-01T00:00:00.000Z",
      "updated_at": "2019-01-01T00:00:00.000Z"
    },
    "watchers": [
      {
        "id": "16338845",
        "name": "John Smith",
        "email": "no-reply@aha.io",
        "created_at": "2019-01-01T00:00:00.000Z",
        "updated_at": "2019-01-01T00:00:00.000Z"
      },
      {
        "id": "689956296",
        "name": "Henry Humpty",
        "email": "no-reply@aha.io",
        "created_at": "2019-01-01T00:00:00.000Z",
        "updated_at": "2019-01-01T00:00:00.000Z"
      },
      {
        "id": "1020675218",
        "name": "Mary Humpty",
        "email": "no-reply@aha.io",
        "created_at": "2019-01-01T00:00:00.000Z",
        "updated_at": "2019-01-01T00:00:00.000Z"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.