Project Member
Reported by
zaro0508,
Sep 22, 2015
I would like to get information about when a change was merged using the Gerrit REST API. The only way to get that info is to use the change-info[1] endpoint which will return a response[2] with a date that goes along with the message "Change has been successfully merged into the git repository." Parsing for the date info tied to this message is not ideal and can be unreliable, especially since this comment has gone thru changes in various Gerrit releases. t would be a lot nicer if there was a dedicated attribute like 'merged-date' for this info, maybe right at the top of the json, next to the "status": "MERGED" attribute.
[1] https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#change-info
[2] http://paste.openstack.org/show/473565/
Mergedinto: 3579