Hi there,

I am using the Python API to create a new review. 

My main goal is to create a review with an automation user, eg, jenkins, 
but make the submitter and the reviewers real users.

I was following the tutorial and I thought I could do something like this:

# Modify the review
draft = review_request.get_draft()
draft = draft.update(
    summary='API tutorial request',
    description='This request was created in the API tutorial.',
    submitter='real_user1',
    target_people='real_user2')

draft.update(public=True)

However this seems not to have any effect, since the reviews are created 
with my "jenkins" user instead.

I tried searching for different terms, including "python submitter" and 
"python api submitter" but this did not throw back any relevant threads. 

Can anyone offer some directions on how could I achieve this?

Many thanks!


-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to