JIRA-REST-Class
view release on metacpan or search on metacpan
The arguments are described below with the names which must be used as
the hash keys:
* url
A string or a URI object denoting the base URL of the JIRA server.
This is a required argument.
The REST methods described below all accept as a first argument the
endpoint's path of the specific API method to call. In general you
can pass the complete path, beginning with the prefix denoting the
particular API to use ("/rest/api/VERSION", "/rest/servicedeskapi",
or "/rest/agile/VERSION"). However, to make it easier to invoke
JIRA's Core API if you pass a path not starting with "/rest/" it
will be prefixed with "/rest/api/latest" or with this URL's path if
it has one. This way you can choose a specific version of the JIRA
Core API to use instead of the latest one. For example:
my $jira = JIRA::REST::Class->new({
url => 'https://jira.example.net/rest/api/1',
lib/JIRA/REST/Class.pm view on Meta::CPAN
hash keys:
=over 4
=item * B<url>
A string or a URI object denoting the base URL of the JIRA server. This is a
required argument.
The REST methods described below all accept as a first argument the
endpoint's path of the specific API method to call. In general you can pass
the complete path, beginning with the prefix denoting the particular API to
use (C</rest/api/VERSION>, C</rest/servicedeskapi>, or
C</rest/agile/VERSION>). However, to make it easier to invoke JIRA's Core
API if you pass a path not starting with C</rest/> it will be prefixed with
C</rest/api/latest> or with this URL's path if it has one. This way you can
choose a specific version of the JIRA Core API to use instead of the latest
one. For example:
my $jira = JIRA::REST::Class->new({
url => 'https://jira.example.net/rest/api/1',
( run in 1.393 second using v1.01-cache-2.11-cpan-524268b4103 )