Hi,

If you're comfortable with Python, you can write an extension for Review
Board that adds custom fields. We have an overall guide on the extension
capabilities here:

https://www.reviewboard.org/docs/manual/3.0/extending/

You can use the JavaScript CommentDialogHook, ReviewDialogCommentHook, and
ReviewDialogHook (listed on that page) to add fields to the comment dialog
to take extra fields, and the Python CommentDetailDisplayHook to display
those alongside comments (if you want) on published reviews.

There's an example you can work from here:
https://github.com/reviewboard/rb-extension-pack/tree/master/rbcommenttype.
You might even be able to just use that for your classifier use case, if it
meets your needs. It adds a Comment Type field to the comment dialog, which
will contain a list of names that an administrator can customize.

When you say column, what are you referring to? Would this be a field on
the review request itself? If so, you'll want a ReviewRequestFieldsHook,
which will let you add fields to the review request and have those tracked
through the draft/publish stage. There's a *very* simple example here:
https://github.com/reviewboard/rb-extension-pack/tree/master/rbnotefield,
but you can find more examples in the documentation above.

Christian

On Thu, Jan 25, 2018 at 1:17 AM, Nilanjan Sen <[email protected]>
wrote:

> Hi Team Review Board,
>
>
> Few days back I came across this tool.We are trying automate our review
> process. So I have installed review board in windows environment. I need
> some help in customizing the review process.
> Can you tell me how can I add custom fields and make them mandatory for
> the user to fill it.For example
>
>    -
>
>    Having a classifier- means if the reviewer wants to say investigate ,
>    he can select in dropdown, or wants some clarification etc he can select a
>    option in a dropdown.
>    -
>
>    Having column for issue location, so if the application is divided in
>    various components we can select component while creating request.
>    -
>
>    Having column for source code - In this column we can select what kind
>    of code we are reviewing, source code or Unit test case script etc.
>
> So my basic expectation is how to add this configurable columns in review
> board. Would you please help in this regard?
>
> *Thanks and Regards,*
> *Nilanjan Sen*
> *Chennai,India*
>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



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

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

Reply via email to