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)
}
]
}
}
  • Carl Sayres
  • Jan 14 2016
  • Unlikely to implement
Release time frame
  • Attach files