Bugzilla::Comment - A Comment for a given bug
use Bugzilla::Comment; my $comment = Bugzilla::Comment->new($comment_id); my $comments = Bugzilla::Comment->new_from_list($comment_ids);
Bugzilla::Comment represents a comment attached to a bug.
This implements all standard Bugzilla::Object methods. See Bugzilla::Object for more details.
bug_idint The ID of the bug to which the comment belongs.
creation_tsstring The comment creation timestamp.
bodystring The body without any special additional text.
work_timestring Time spent as related to this comment.
is_privateboolean Comment is marked as private
already_wrappedIf this comment is stored in the database word-wrapped, this will be 1. 0 otherwise.
authorBugzilla::User who created the comment.
body_fullstring Body of the comment, including any special text (such as "this bug was marked as a duplicate of...").
is_bugmailboolean. 1 if this comment should be formatted specifically for bugmail.
wrapboolean. 1 if the comment should be returned word-wrapped.
A string, the full text of the comment as it would be displayed to an end-user.