Hi, Team.
Perl environment.
I want to import the Project Name or Project Key of the Jira Project using the Jira REST API.
I created the script below.
my $eProject = $jira -> GET("/project/".$vKey."?expand=projectkeys");
my $eExpand = $eProject->{expand};
print "projectkeys = $eExpand->{projectkeys}\n";
However, errors still occur.
What went wrong?
Waiting for help.
Cheers.
Alex.
Hi Alex,
Could you tell us more about the specific error you get back? I know we discussed previously that making REST calls in Perl would be aided by the use of the Data::Dumper library, just so that we can see the REST responses. These responses can probably give us a clue as to the source of the problem here.
Andy
Hi, Andy.
This problem has been resolved.
As You said, I checked the 'return value' of 'Data :: Dumper' and I knew the return value was wrong.(below)
$VAR1 = {
'lead' => {
.......
},
'name' => 'TESTTESTTEST_001',
'id' => '10117',
.......
'key' => 'TESTTES',
'description' => '',
Thank you.
alex.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.