Hi, everyone.
I created an issue using the JIRA :: REST module in the perl environment as shown below.
use utf8;
use Filehandle;
use strict;
use warnings;
use Encode;
use JIRA::REST;
my $jira = JIRA::REST -> new({
url => ‘http://company.domain:8080’,
username => ‘xxxxx’,
password => ‘xxxxxxxxxx’,
});
print FILE_H “jira: “.$jira.” \n\n” ;
my $issue = $jira -> POST(’/issue’, undef, {
fields => {
project => {key => ‘SMPKB’},
issuetype => {name => ‘Task’},
summary => ‘JIRA-REST, summary.’,
description => ‘bla bla bla.’,
},
});
I also checked the issue created by logging into Atlassian Jira.
How do I check the return value of an issue generated without logging into Atlassian Jira?
I need to be able to check in a Perl environment.
Alex