Webdoublehooked events for issue and merge request
Created by: qfox
Version 6.7.2.
Create webhook with all checkboxes. And...
Just touching issue create 2 similar requests, dump req.body:
{ object_kind: 'issue',
  object_attributes:
   { id: 2,
     title: '123123',
     assignee_id: 13,
     author_id: 13,
     project_id: 241,
     created_at: '2014-04-03T04:25:05.987+04:00',
     updated_at: '2014-04-03T04:30:45.175+04:00',
     position: 0,
     branch_name: null,
     description: 'asdasdasdasd\r\nyaroshevich/autodeploy-test:master',
     milestone_id: null,
     state: 'closed',
     iid: 1 } }
{ object_kind: 'issue',
  object_attributes:
   { id: 2,
     title: '123123',
     assignee_id: 13,
     author_id: 13,
     project_id: 241,
     created_at: '2014-04-03T04:25:05.987+04:00',
     updated_at: '2014-04-03T04:30:45.175+04:00',
     position: 0,
     branch_name: null,
     description: 'asdasdasdasd\r\nyaroshevich/autodeploy-test:master',
     milestone_id: null,
     state: 'closed',
     iid: 1 } }
Same with merge requests:
{ object_kind: 'merge_request',
  object_attributes:
   { id: 1367,
     target_branch: 'master',
     source_branch: 'feature/add-bingo_bongo-box',
     source_project_id: 241,
     author_id: 13,
     assignee_id: 13,
     title: 'Feature/Add Bingo Bongo Box',
     created_at: '2014-04-03T04:32:17.459+04:00',
     updated_at: '2014-04-03T04:32:17.459+04:00',
     milestone_id: null,
     state: 'opened',
     merge_status: 'unchecked',
     target_project_id: 241,
     iid: 1,
     description: 'zxczxczxc' } }
{ object_kind: 'merge_request',
  object_attributes:
   { id: 1367,
     target_branch: 'master',
     source_branch: 'feature/add-bingo_bongo-box',
     source_project_id: 241,
     author_id: 13,
     assignee_id: 13,
     title: 'Feature/Add Bingo Bongo Box',
     created_at: '2014-04-03T04:32:17.459+04:00',
     updated_at: '2014-04-03T04:32:18.798+04:00',
     milestone_id: null,
     state: 'opened',
     merge_status: 'can_be_merged',
     target_project_id: 241,
     iid: 1,
     description: 'zxczxczxc' } }
But MR not the same, difference in merge_status field.
Is it really correct?