ypicard February 2016

Phabricator : get access to date of latest review

I've been trying to find a way to solve this for a few days already, and am not sure there actually is one now...

I want to get access (with the Phabricator API system : https://secure.phabricator.com/conduit/) to the date of the last review a phabricator user did. Meaning accepting a review, or rejecting it.

I can quite easily get the dates of the diffs, but it's not what I am really searching for...

Thanks in advance for your help,

Yann

Answers


ypicard February 2016

I think I found a way to do what I was looking for, using a little trick using the differential.query method here (https://secure.phabricator.com/conduit/).

I do not know specifically what a "responsible user" is (if someone finds out, answer here : What is Responsible Users in Phabricator Differentials?), but by writing the PHID of a user both in the "reviewers" field and in the "responsible user" field, it looks like the first item returned is the last action of this user in the differential module ("date modified" element).

If anyone thinks I'm wrong here, let me know, but for the moment I am going forward with this method :)

Post Status

Asked in February 2016
Viewed 3,591 times
Voted 9
Answered 1 times

Search




Leave an answer