Skip to Main Content

Share your product feedback

Status Unlikely to implement
Categories Ideas portal
Created by Guest
Created on Jan 14, 2016

Webhook data from Ideas is split in two messages and is missing Category and custom fields

When a new Idea is added in the Ideas Portal, we get 2 separate "added idea" HTTP requests. The first only contains the Description field. The second contains the Name field and a few other fields. This makes it very difficult to take an action in response because we need to store the first part and wait (and hope) for a second request. All of these fields should be in a single HTTP request.

Also, we need the Idea Category and customer fields added to the (single) HTTP request.

Below is an example:

{ 
"event" : "audit",
"audit" : {
"id" : "6238786204232882123",
"audit_action" : "create",
"created_at" : "2016-01-12T06:36:47Z",
"interesting" : true,
"user" : {
"id" : "6229219189995965441",
"name" : "XXXX XXXXXXXXXX",
"email" : "xxxx@xxxxxxxxxxxxx.com",
"created_at" : "2015-12-17T11:51:53Z"
},
"auditable_type" : "note",
"auditable_id" : "6238786204234063624",
"description" : "added idea DF-I-10 another test",
"auditable_url" : "https://xxxx.aha.io:443/ideas/ideas/DF-I-10",
"changes" : [
{
"field_name" : "Description",
"value" : "<div class='user-content'><p>a description of the test</p></div>"
}
]
}
}
{
"event" : "audit",
"audit" : {
"id" : "6238786204224968579",
"audit_action" : "create",
"created_at" : "2016-01-12T06:36:47Z",
"interesting" : true,
"user" : {
"id" : "6229219189995965441",
"name" : "XXXX XXXXXXXXXX",
"email" : "xxxx@xxxxxxxxxxxxx.com",
"created_at" : "2015-12-17T11:51:53Z"
},
"auditable_type" : "ideas/idea",
"auditable_id" : "6238786204227498735",
"description" : "added idea DF-I-10 another test",
"auditable_url" : "https://xxxx.aha.io:443/ideas/ideas/DF-I-10",
"changes" : [
{
"field_name" : "Name",
"value" : "another test"
},
{
"field_name" : "Workflow status",
"value" : "Needs review"
},
{
"field_name" : "Score",
"value" : NumberInt(0)
},
{
"field_name" : "Visibility",
"value" : "Visible to employees and partners"
},
{
"field_name" : "Assigned to user",
"value" : "Default assignee"
},
{
"field_name" : "Num endorsements",
"value" : NumberInt(0)
}
]
}
}
  • Attach files
  • Laura Giles
    Reply
    |
    Feb 22, 2019

    multiple http calls is a BIG pain in the a** and resulting in unnecessary multiple notifications when new items are added. 

    Also +1 the request to include category in payload. I presume this is why it's also not updating in the idea history on create or change which makes no sense if Aha recommends using it (in their support docs) for portfolio classification. As a dataset identifier, it should be part of the audit trail.