更新时间:2022-06-09 21:13:55
注意:您需要管理员才能访问自定义字段
Note: You will need admin to access custom fields
my $soap = SOAP::Lite->proxy("http://jira_url/rpc/soap/jirasoapservice-v2?wsdl") or die $!;
my $login = $soap->login($user,$passwd)->result();
my $cfresult = $soap->getCustomFields($login);
my $cfarray = $cfresult->result;
my %cfhash;
foreach $cfld (@{$cfarray}) {
$cfhash{$cfld->{'name'}} = $cfld->{'id'};
}