merge_request web hook missing url
Hello Gitlab team,
I have a web hook setup on merge requests to send to a hubot to post in an XMPP chat room, but when trying to use hook.object_attributes.url described on https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/web_hooks/web_hooks.md, the server sees undefined. I set up a new hook to go to a simple dump script of the body, and I see that there is no url being sent. Is there some place I need to configure this or is there an error in the actual code for sending web hook information?
{
"object_kind":"merge_request",
"user":{
"name":"User Name",
"username":"user",
"avatar_url":"https://secure.gravatar.com/avatar/4aee385ad5d89b915c60b00c3106b713?s=40\u0026d=identicon"
},
"object_attributes":{
"id":1579,
"target_branch":"develop",
"source_branch":"bug/branch",
"source_project_id":6,
"author_id":30,
"assignee_id":30,
"title":"Temporarily removing folio ID",
"created_at":"2015-02-13 15:44:51 UTC",
"updated_at":"2015-02-13 15:44:51 UTC",
"milestone_id":null,
"state":"opened",
"merge_status":"unchecked",
"target_project_id":6,
"iid":1014,
"description":"This functionality reads files from the server, which causes the report to take too long and timeout",
"position":0,
"locked_at":null,
"source":{
"name":"Project",
"ssh_url":"git@server.company.com/project.git",
"http_url":"https://dserver.company.com/project.git",
"namespace":"Systems Development",
"visibility_level":0
},
"target":{
"name":"Project",
"ssh_url":"git@server.company.com/project.git",
"http_url":"https://server.company.com/project.git",
"namespace":"Systems Development",
"visibility_level":0
},
"last_commit":{
"id":"f591549afd076cfcf75a2f3fb6e7fa34eb8191d9",
"message":"Temporarily removing folio ID columns\n",
"timestamp":"2015-02-13T10:44:07-05:00",
"url":"https://server.company.com/project/commit/f591549afd076cfcf75a2f3fb6e7fa34eb8191d9",
"author":{
"name":"User Name",
"email":"user.name@company.com"
}
}
}
}
Thank you!