Net::OAuth::LP::Models::Bug
Bug Model
my $b = Net::OAuth::LP::Models::Bug->new;
my $bug = $b->find(1);
$lp->bug_set_tags($bug, ['tagA', 'tagB']);
Set title(aka summary) of bug
$lp->bug_set_title($bug, 'A new title');
Adds a new message to the bug.
$lp->bug_new_message($bug, "This is a comment");
Views bug activity
$lp->bug_activity($resource_link);
View bug tasks
$lp->bug_task($resource);
Sets priority ['Critical', 'High', 'Medium', 'Low']
$lp->bug_set_importance($bug, 'Critical');
Sets the assignee of bug.
my $person = $lp->person('~adam-stokes'); $lp->bug_set_assignee($bug, $person);
To install Net::OAuth::LP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OAuth::LP
CPAN shell
perl -MCPAN -e shell install Net::OAuth::LP
For more information on module installation, please visit the detailed CPAN module installation guide.