使用perl更新jira中描述字段的哈希格式

时间:2014-03-04 07:11:07

标签: perl jira jira-rest-api

我正在使用JIRA :: Client :: Automated cpan模块来更新问题。但我无法更新说明字段。请有人帮我解释jira中更新描述字段的哈希格式是什么?

 use strict;
 use warnings;
 use JIRA::Client::Automated;
 use Data::Dumper;

 my $jira_url ="http://localhost:8080";
 my $jira_user ='admin';
 my $jira_pwd ='admin';


#for establishing connection to JIRA::Client::Automated
 my $jira = JIRA::Client::Automated->new($jira_url,$jira_user,$jira_pwd);
 my $update={ "description" =>{"text"=>"$new_value",},};
 $jira->update_issue('PROJ-79',$update);

0 个答案:

没有答案