Redmine::Fetch - It's new $module
use Redmine::Fetch; my $rf = Redmine::Fetch->new( $server_uri, $api_key, $project_id, $filter); my $ticket = $rf->get_ticket_by_id(555);
This module provides API access to the Redmine REST API
Please reference the Redmine API docs to determine Parameters for Filters etc.
You can find the docs here: http://www.redmine.org/projects/redmine/wiki/Rest_api
Creates a new Object. Handle over the Redmine Config
param: $api_key String - API Key for Redmine
param: $project_id Integer - Redmine Project ID
param: $filter String - Redmine filter string
returns: $self Object - Redmine::Fetch object
Returns a config hashref for the Redmine REST API.
returns: $c Hash - Config Hash for the Redmine REST API
Redmine Useragent. Abstracts PUT und GET Requests for the Redmine Rest API. Will dump errors per Data::Printer
param: $mode String - 'get' || 'put' || 'delete' || 'post'
param: $call String - calling API path
param: $payload Hash || JSON - payload for PUT or GET request
returns: $response Mojo::UserAgent Response - Antwort Objekt der Transaktion oder leerer String
Update or create Wiki pages in Redmine Wiki
param: $path String - Path to Wiki page
param: $name String - name of Wiki page
param: $content String - Content of the Wiki Page in Textile Markup
param: $parent_titel - Title of the parent Wiki Page
returns: $response Mojo::UserAgent Response - Server answer, for further processing or empty String
deletes Wiki Page
param: $path String - path to delete
create ticket in Redmine Tracker
param: $subject String - Subject of the Ticket
param: $description String - Description of the Ticket
param: $payload String - additional Ticket parameters as a hash (e.g. tracker_id, priority, etc.)
delete a ticket in the Redmine Tracker
param: $ticket_id Integer - Ticket ID of the Redmine Ticket
get list of Tickets
param: $type String - Tracker Typ - e.g. [ bugs, features, updates, faq ]
param: $limit Scalar - maximal number of Listitems - default 500
param: $sort String - sort for Redmine API as String
returns: $ticket Hash - From json decoded hashref with ticket_data
gets a Ticket by ID including the related Tickets
param: $ticket_id Scalar - Ticket ID in Redmine
param: $build_link_callback - Anonymus function for URI generating
Copyright (C) Jens Gassmann Software Entwicklung.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Jens Gassmann <jg@itnode.de>
Patrick Simon <ps@itnode.de>
To install Redmine::Fetch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Redmine::Fetch
CPAN shell
perl -MCPAN -e shell install Redmine::Fetch
For more information on module installation, please visit the detailed CPAN module installation guide.