Hi Sankar,

That'd be a great feature to add. We don't have any plans for it ourselves
(our focus tends to be on core Review Board, RBTools, etc.). You could
implement this as a custom extension or as a patch on top of the
rbnotefield extension.

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Wed, Feb 1, 2017 at 9:47 PM, Sankar R <[email protected]> wrote:

> Is it possible to populate default data in the "Note to Reviewers" text
> box by default. What I am looking is populate the checklist in this text
> box and the developer answers yer/no.
>
> Thanks
> Sankar R
>
> On Thursday, 18 August 2016 02:27:00 UTC+5:30, Christian Hammond wrote:
>>
>> Hi Terry,
>>
>> The content of that field is stored in the review request draft's
>> "extra_data" dictionary, which unfortunately cannot be modified using rbt
>> post (though that'd be a good feature addition -- going to record that). It
>> can be modified during an HTTP POST/PUT by setting:
>>
>>     extra_data.beanbag_notefield_notes=<content>
>>
>> You can also set the Markdown state with:
>>
>>     extra_data.beanbag_notefield_notes_text_type=plain|markdown
>>
>> The values will be propagated to the draft.
>>
>> There is a bug currently with the fields involving the text type
>> propaogation from draft to review request where the value gets dropped on
>> the floor. This is going to be fixed in 2.5.7 (see
>> https://reviews.reviewboard.org/r/8263/)
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Wed, Aug 17, 2016 at 1:35 PM, Dunnigan, Terrence J <
>> [email protected]> wrote:
>>
>>> Hi all,
>>>
>>>
>>>
>>> I have a question about the ‘Note to Reviewers
>>> <https://www.reviewboard.org/store/products/rbnotefield/>’ extension.
>>> Can I populate the field when creating a review request using rbtools?
>>>
>>>
>>>
>>> Currently I do something like this when I generate a peer review:
>>>
>>>
>>>
>>> rbt post --summary=”My first review request”
>>> --description-file=”description.txt”
>>>
>>>
>>>
>>> Can I also specify my ‘Note to Reviewers’ text as a command line
>>> argument to rbt post?
>>>
>>>
>>>
>>> If not, can I update the field via the API? Can I update it via the API
>>> while the review request is still a draft?
>>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> Terry
>>>
>>> --
>>> 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 [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to