in reply to Getting specific field values from JIRA rest/api output using JSON::XS and array of hashes
Note : customfield_11780 should be an array of hashes .. the dump formatting does not make this clear.my $fields = $perl->{issues}[0]{fields}; # Now you can get my $customfield_22181 = $fields->{customfield_22181}; # Should get + you the desired 'Jira Testing' my $customfield_11150_val = $fields->{customfield_11150}{value}; # Sho +uld be 'Yes' my @weekdays = map {$_->{value}} @{ $fields->{customfield +_11780} };
You use <pre> tags where you should have used <code> tags.
Untested.
Update:Changed $perl{ to $perl->{
"I can cast out either one of your demons, but not both of them." -- the XORcist
|
|---|