Updating target people for existing request

20 views
Skip to first unread message

Игорь Михайлович Колыбаев

unread,
May 4, 2020, 11:19:24 AM5/4/20
to Review Board Community
Hi!

I'm trying to make update --target-people with rbt post command for existing request
Command is like:
rbt post --server=http://myserver/reviews --username=username --password=password -p --review-request-id=100 --target-people=someuser
Result:
ERROR: There don't seem to be any diffs!
But I don't need to make any changes for request. Only adding/changing of target people is needed.

Can it be possible? What's wrong with command params?

Thanks!

Christian Hammond

unread,
May 6, 2020, 7:42:52 PM5/6/20
to revie...@googlegroups.com
Hi,

`rbt post` requires being able to update the diff of a review request in order to then apply any other field changes. It can't be used just for setting fields (though there are plans to add commands for this).

Right now, if you want to just update these fields, you'll unfortunately need to script it yourself until we can get around to adding a dedicated command for it.

Chritsian

--
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 "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/d4e37c56-3970-4a76-a92f-bd41e1864988%40googlegroups.com.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Игорь Михайлович Колыбаев

unread,
May 7, 2020, 3:05:32 AM5/7/20
to Review Board Community
Hi, Christian!

Can you give some example of script or in which file can I see some example of that scripting?

Thanks!
Reply all
Reply to author
Forward
0 new messages