Gerrit - get drafts via API

62 views
Skip to first unread message

Joasia

unread,
Feb 16, 2016, 3:52:18 AM2/16/16
to Repo and Gerrit Discussion
Hi,
I have problem with get all drafts through API - I want download all drafts for specific user. I tried to get this in this way: 
 https:/gerrit.com/a/changes/?q=owner:name+is:draft but this return me an empty array. (i tested my query with postman)

Could someone explain to me what I was doing wrong?

Thanks!

Edwin Kempin

unread,
Feb 16, 2016, 3:53:39 AM2/16/16
to Joasia, Repo and Gerrit Discussion
By default draft changes are only visible to the change owner and the reviewers.
Unless you have View Drafts [1] access right.

 

Thanks!

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages