Skip Menu |

This queue is for tickets about the JIRA-REST CPAN distribution.

Report information
The Basics
Id: 130870
Status: resolved
Priority: 0/
Queue: JIRA-REST

People
Owner: GNUSTAVO [...] cpan.org
Requestors: FANY [...] cpan.org
Cc: IT-1276 [...] jira.mensa.de
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.019
Fixed in: (no value)



CC: IT-1276 [...] jira.mensa.de
Subject: POD errorr in SYNOPSIS
The SYNOPSIS states: my $jira = JIRA::REST->new({ URL => 'https://jira.example.net', username => 'myuser', password => 'mypass', }); But that gives … JIRA::REST::new: unknown arguments: 'URL'. … because in fact, the key "url" is expected in lowercase. Also I found a minor typo further down. Please find a patch attached. Regards Martin
Subject: jira-rest-pod.patch
--- a/lib/JIRA/REST.pm +++ b/lib/JIRA/REST.pm @@ -386,7 +386,7 @@ version 0.019 use JIRA::REST; my $jira = JIRA::REST->new({ - URL => 'https://jira.example.net', + url => 'https://jira.example.net', username => 'myuser', password => 'mypass', }); @@ -568,7 +568,7 @@ fields, you pass C</rest/api/latest/field>, and in order to get SLA information about an issue you pass C</rest/servicedeskapi/request/$key/sla>. -If you're using a method form Jira Core REST API you may omit the prefix +If you're using a method from Jira Core REST API you may omit the prefix C</rest/api/VERSION>. For example, to GET the list of all fields you may pass just C</field>.
Thank you, FANY. I just pushed it to GitHub (https://github.com/gnustavo/JIRA-REST/commit/f4fa75bb355d589053db6a27d408bcee63eff416) and I'll make a release shortly.