WorkInProgressInput class

35 views
Skip to first unread message

eafr...@gmail.com

unread,
Mar 28, 2021, 10:01:12 AM3/28/21
to Repo and Gerrit Discussion
Hi everyone,

I was looking at the SetWorkInProgress method in the API documentation

I might be totally wrong here, but my understanding is that to work with a message this method needs a WorkInProgressInput object.

However, it seems that this class is not contained in the path java/com/google/gerrit/extensions/api/changes. I noticed that similar classes (e.g., MoveInput) are instead contained there.

Am I looking in the wrong place or this class was not implemented for some reason? 

Thank you for your help. 

David Ostrovsky

unread,
Mar 28, 2021, 2:58:55 PM3/28/21
to Repo and Gerrit Discussion
REST endpoints for WIP workflow was added in this change: [1].
REST endpoint documentation was added here: [2].

You can find the code here: [3], the input class is called: WorkInProgressOp.Input.
 So yes, there is some discrepancy between the documented entity name and the
real class name.

eafr...@gmail.com

unread,
Mar 29, 2021, 6:49:48 AM3/29/21
to Repo and Gerrit Discussion
Great, thank you for pointing me to the right class!
Reply all
Reply to author
Forward
0 new messages