You can use the `rbt api-get` command to fetch the review request data,
along with a JSON tool like `jq` to extract whatever fields you want. For
example:

rbt api-get /review-requests/12345/ | jq .review_request.description

David



On Tue, Feb 11, 2025 at 8:40 AM 'Ramakrishnan Palipuram Ramachandran' via
Review Board Community <reviewboard@googlegroups.com> wrote:

> Hi,
> I can get the code files difference or patch for a rb using the command:
>
> rbt patch --print <rb number>> <rb number>.diff
>
> For example: For rb # 260437
>
> rbt patch --print 260437 > 260437.diff
>
> The file 260437.diff contains the patch corresponding to the rb.
>
> In similar fashion, is it possible to get the description of the rb into a
> text file.
>
> I am using following version of RB:
>
> ibnvda1929 ~/rbttest> rbt -v
> RBTools 5.1.1 (Python 3.11.4)
> ibnvda1929 ~/rbttest>
>
>
> Thanks.
>
> Regards,
>
> Rama
>
> This electronic communication and the information and any files
> transmitted with it, or attached to it, are confidential and are intended
> solely for the use of the individual or entity to whom it is addressed and
> may contain information that is confidential, legally privileged, protected
> by privacy laws, or otherwise restricted from disclosure to anyone else. If
> you are not the intended recipient or the person responsible for delivering
> the e-mail to the intended recipient, you are hereby notified that any use,
> copying, distributing, dissemination, forwarding, printing, or copying of
> this e-mail is strictly prohibited. If you received this e-mail in error,
> please return the e-mail to the sender, delete it from your computer, and
> destroy any printed copy of it.
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/reviewboard/5321eeb4-7b2b-4e06-b840-a0ee406160f3n%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/5321eeb4-7b2b-4e06-b840-a0ee406160f3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/reviewboard/CAFS3VNWvqGdhgBUcOtuOo2_69JnkPG-6Z6S6FWOpD1N-Y8oOxw%40mail.gmail.com.
  • Get descr... 'Ramakrishnan Palipuram Ramachandran' via Review Board Community
    • Re: ... David Trowbridge
      • ... 'Ramakrishnan Palipuram Ramachandran' via Review Board Community

Reply via email to