}
# Append comment
- $bug->add_comment($comment,
- {isprivate => $params->{is_private}, work_time => $params->{work_time}});
+ $bug->add_comment(
+ $comment,
+ {
+ isprivate => $params->{is_private},
+ work_time => $params->{work_time},
+ is_markdown =>
+ ( defined $params->{is_markdown} ? $params->{is_markdown} : 0 )
+ }
+ );
# Add comment tags
$bug->set_all({comment_tags => $params->{comment_tags}})
{
"ids" : [123,..],
"comment" : "This is an additional comment",
- "is_private" : false
+ "is_private" : false,
+ "is_markdown" : true
}
``ids`` is optional in the data example above and can be used to specify adding
did not set the ``comment`` parameter.
is_private boolean If set to true, the comment is private, otherwise it is
assumed to be public.
+is_markdown boolean If true, the comment will be rendered as markdown.
+ (default: false)
work_time double Adds this many hours to the "Hours Worked" on the bug.
If you are not in the time tracking group, this value will
be ignored.