Custom table record links
Create a custom table record link associated with an idea
Changed onResources that can be linked to records from a custom table (called custom objects in the API) can be manipulated in a bulk ID-list format. To use custom table record links you must first add a many-to-many custom field definition to the resource. When you pass the IDs of custom table records to link to the feature, the existing list of links will be replaced.
Examples of linking custom objects to resources with a many-to-many customer field:
- Products
- Releases
- Features
- Ideas
- Initiatives
- Goals
- Organizations
Custom tables are an Enterprise+ exclusive feature.
put/ideas/{id}
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Id identifier
Request body
Example request
{
"requirement": {
"custom_object_links": {
"customers": [
"640362830"
]
}
}
}Response
Successful operation
Example response
{
"idea": {
"id": "58056975",
"name": "Idea 1",
"reference_num": "PRJ1-I-1",
"score": 15,
"created_at": "2019-01-01T00:00:00.000Z",
"updated_at": "2019-01-01T00:00:00.000Z",
"product_id": "131414752",
"votes": 1,
"initial_votes": 0,
"status_changed_at": "2019-01-01T00:00:00.000Z",
"workflow_status": {
"id": "1009437757",
"name": "In progress",
"position": 2,
"complete": false,
"color": "#ecdd8f",
"workflow_status_category": {
"id": "112353881",
"name": "In progress"
}
},
"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": []
},
"visibility": "Visible to all ideas portal users",
"url": "https://company.aha.io/ideas/ideas/PRJ1-I-1",
"resource": "https://company.aha.io/api/v1/ideas/PRJ1-I-1",
"product": {
"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"
},
"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"
},
"assigned_to_user": null,
"feature": {
"id": "6776881149492554846",
"name": "Idea 1",
"reference_num": "PRJ1-251",
"created_at": "2019-01-01T00:00:00.000Z",
"product_id": "131414752",
"url": "https://company.aha.io/features/PRJ1-251",
"resource": "https://company.aha.io/api/v1/features/PRJ1-251"
},
"endorsements_count": 1,
"comments_count": 0,
"score_facts": [
{
"id": "244026645",
"value": 10,
"name": "Effort"
},
{
"id": "394452137",
"value": 5,
"name": "Benefit"
}
],
"tags": [
"Infrastructure"
],
"full_tags": [
{
"id": 775582684,
"name": "Infrastructure",
"color": "#7552e0"
}
],
"categories": [
{
"id": "972845454",
"name": "Hard disk drive",
"parent_id": 552935478,
"project_id": 131414752,
"created_at": "2019-01-01T00:00:00.000Z"
}
],
"themes": [],
"custom_fields": [
{
"id": 585340588,
"key": "component",
"name": "Component",
"updatedAt": "2019-01-01T00:00:00Z",
"type": "array",
"value": [
"web"
]
},
{
"id": 267687015,
"key": "custom_scorecard_definition",
"name": "Some custom scorecard definition",
"updatedAt": "2019-01-01T00:00:00Z",
"type": "scorecard",
"value": 11,
"score_facts": [
{
"id": "84642379",
"value": 10,
"name": "Effort"
}
]
},
{
"id": 193641455,
"key": "text_field1",
"name": "TextField1",
"updatedAt": "2019-01-01T00:00:00Z",
"type": "string",
"value": "Cairo"
},
{
"id": 310635095,
"key": "text_field2",
"name": "TextField2",
"updatedAt": "2019-01-01T00:00:00Z",
"type": "string",
"value": "Rennes"
},
{
"id": 800380718,
"key": "upload",
"name": "Upload",
"updatedAt": "2019-01-01T00:00:00Z",
"type": "attachment",
"attachments": []
}
],
"custom_object_links": [
{
"key": "revenue",
"name": "Revenue",
"record_type": "CustomObjectRecord",
"record_ids": [
640362830
]
},
{
"key": "submitters",
"name": "Submitters",
"record_type": "CustomObjectRecord",
"record_ids": [
640362830
]
}
],
"workflow_status_times": [
{
"status_id": "1009437757",
"status_name": "In progress",
"started_at": "2019-01-01T00:00:00.000Z",
"ended_at": null
}
],
"submitted_idea_portal_record_url": "https://ideas.example.com/ideas/PRJ1-I-1",
"integration_fields": []
}
}Changes
- info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info