HI,
Some additional info:
I tried to run a test provided with JIRA-Client-Automated-1.02, it also has the same problem:
========
$ cd tool/JIRA-Client-Automated-1.02/t
$ ls
author-critic.t jira-client-automated.t release-pod-coverage.t release-pod-syntax.t
$ ./jira-client-automated.t
ok 1 - use JIRA::Client::Automated;
ok 2 - new
ok 3 - The object isa JIRA::Client::Automated
Error creating new JIRA issue JIRA::Client::Automated Test Script 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed) at tool/JIRA-Client-Automated-1.02/lib/JIRA/Client/Automated.pm line 184.
# Tests were run but no plan was declared and done_testing() was not seen.
$ perldoc -l
LWP::Protocol::https
<installDir>/tool/LWP-Protocol-https-6.03/lib/LWP/Protocol/https.pm
========
I did set the below envs before running the above test.
1233 export JIRA_CLIENT_AUTOMATED_URL='
https://you.atlassian.net/'
1234 export JIRA_CLIENT_AUTOMATED_PROJECT=TEST
1235 export JIRA_CLIENT_AUTOMATED_USER=you
1236 export JIRA_CLIENT_AUTOMATED_PASSWORD='******'
Something must be wrong with my setting, thanks again for looking into. Any information is appreciated.
I'm running this on CentOS release 6.5 (Final).
Thanks.
--Yongjun
Show quoted text________________________________
From: Bugs in JIRA-Client-Automated via RT <bug-JIRA-Client-Automated@rt.cpan.org>
To: yjz_2000@yahoo.com
Sent: Thursday, February 6, 2014 2:08 PM
Subject: [rt.cpan.org #92789] AutoReply: a possible bug in JIRA::Client::Automated
Greetings,
This message has been automatically generated in response to the
creation of a trouble ticket regarding:
"a possible bug in JIRA::Client::Automated",
a summary of which appears below.
There is no need to reply to this message right now. Your ticket
has been
assigned an ID of [rt.cpan.org #92789]. Your ticket is accessible
on the web at:
https://rt.cpan.org/Ticket/Display.html?id=92789
Please include the string:
[rt.cpan.org #92789]
in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.
Thank you,
bug-JIRA-Client-Automated@rt.cpan.org
-------------------------------------------------------------------------
Hi,
I was looking for a tool that I can use to access JIRA server from script, and luckily I found JIRA::Client::Automated, thanks a lot for the great work you guys did!
I ran into an issue here, not sure whether it's my setting problem or a real problem,
By running these two lines of code:
my $jira = JIRA::Client::Automated->new($url, $user, $password);
my $issue = $jira->create_issue($project, $type, $summary, $description);
I got the following error:
Error creating new JIRA issue <xyz> Protocol scheme 'https' is not supported (LWP::Protocol::https
not installed) at <installDir>/JIRA-Client-Automated-1.02/lib/JIRA/Client/Automated.pm line 184.
My url is of scheme "https", and I do have LWP::Protocol::https installed and on the path:
$ perldoc -l LWP::Protocol::https
<toolDir>/LWP-Protocol-https-6.04/lib/LWP/Protocol/https.pm
I wonder if I did something wrong, or the LWP::Protocol::https I installed is not compatible with JIRA-Client-Automated-1.02.
Thanks a lot for taking a look.
--Yongjun