How do I get a list of custom fields in JIRA with Perl SOAP?

邮差的信 提交于 2019-12-06 02:29:49
Damon Curnell

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'}; 
}
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!