Hi,
I am trying to do this but the comments don't seem to get updated.
I am looking for the comments of the file to be updated with my information.
Thanks,
Balaji
sub updateComments {
my($mycomment, $task)=
@_;
# Files and File Comments
my %f_and_c;
$task->GetFilesAndComments(\%f_and_c);
if (defined %f_and_c) {
for my $file (sort keys %f_and_c) {
my
@comments = @{ $f_and_c{$file} };
if(
@comments) {
my %publishComment =( "date"=> '123', "user"=>'343',"body"=>'Scheduling', "task
"=> 'test');
push(
@comments, \%publishComment);
}
}
}
}