Idea comments

Create an idea comment created by an Aha! user (specified by id)

Changed on

Idea comments can appear in ideas portals. To reply to an idea_comment, specify the parent_idea_comment_id. Its visibility will come from its parent idea comment and cannot be overridden.

post/ideas/{idea_id}/idea_comments

Request

Path parameters

idea_idstring required

IdeaId identifier

Request body

Example request

{
  "idea_comment": {
    "spam": "true"
  }
}

Response

Successful operation

Example response

{
  "idea_comment": {
    "id": "6776881149486308366",
    "idea_id": "58056975",
    "body": "<p>This is the comment body.</p>",
    "updated_at": "2019-01-01T00:00:00.000Z",
    "created_at": "2019-01-01T00:00:00.000Z",
    "visibility": "Visible to creator and employees",
    "parent_idea_comment_id": null,
    "idea_commenter_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"
    },
    "idea": {
      "id": "58056975",
      "name": "Idea 1",
      "reference_num": "PRJ1-I-1",
      "created_at": "2019-01-01T00:00:00.000Z",
      "updated_at": "2019-01-01T00:00:00.000Z",
      "workflow_status": {
        "id": "3259216",
        "name": "New",
        "position": 1,
        "complete": false,
        "color": "#dce7c6",
        "workflow_status_category": null
      },
      "description": {
        "id": "103757394",
        "body": "Description of idea 1",
        "notable_id": "58056975",
        "notable_type": "Ideas::Idea",
        "editor_version": 1,
        "created_at": "2019-01-01T00:00:00.000Z",
        "updated_at": "2019-01-01T00:00:00.000Z",
        "attachments": []
      },
      "url": "https://company.aha.io/ideas/ideas/PRJ1-I-1",
      "resource": "https://company.aha.io/api/v1/ideas/PRJ1-I-1"
    },
    "attachments": []
  }
}

Changes

    • breaking

      the response property /// became nullable for the status

    • breaking

      the /// response's property type changed from object to null for status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property / to the response with the status