elastic-recheck/elastic_recheck/tests/unit/samples/gerrit-bug-query.json
Joe Gordon 1981ff7b5f Add open reviews to elastic-recheck status page
List open gerrit reviews on the elastic_recheck status page. Listing the
reviews here can help us prioritize reviews of them. Currently one has
to manually dig through the launchpad notes for gerrit review links,
this automates that process.

Instead of looking for jenkins comments in launchpad about open patches,
directly query gerrit for open patches related to the bug on hand. Since
gerrit only supports string matching and not regex for messages, just
look for the bug number in the commit message. Our bug numbers are long
enough that it unlikely the number will come up in other cases.

Change-Id: Ida2144ccc5f0fdf91e2bd70714de80c83f4c1200
2014-08-08 14:38:16 -07:00

22 lines
589 B
JSON

[
{
"kind": "gerritcodereview#change",
"id": "openstack%2Fneutron~master~Iefb30452083747b45496600c81f8d0a6f378bd08",
"project": "openstack/neutron",
"branch": "master",
"topic": "bug/1288393",
"change_id": "Iefb30452083747b45496600c81f8d0a6f378bd08",
"subject": "Change nexus_dict values to be array",
"status": "NEW",
"created": "2014-08-08 20:04:30.000000000",
"updated": "2014-08-08 21:06:08.835000000",
"mergeable": false,
"_sortkey": "002ef9920001b971",
"_number": 113009,
"owner": {
"name": "Britt Houser"
}
}
]