Can someone please help me on this :
The output of the custom field when run via api query:
"customfield_11872":
[
{
"self": "https://localhost.com:8080/rest/api/2/version/35372",
"id": "35372",
"description": "Null version. May be deleted after other conforming versions are created",
"name": "0.0.0.0",
"archived": false,
"released": false
}
the command that i used is shown below:
my $decoded_json = decode_json($result);
$jira_found_in_release = "$decoded_json->{'fields'}{'customfield_11872'}{'name'};
When the customfield name value is null, I do not get any error but when the name field contains value such as 0.0.0.0 , i get bad index while corecing array into hash...
Can someone please tell me how to store the value into $jira_found_in_release variable.