WebService::PivotalTracker::Story - A single story
version 0.11
This class represents a single story.
my $iterations = $project->stories( ... );
This class provides the following attribute accessor methods. Each one corresponds to a property defined by the PT REST API V5 story resource docs.
The description in Markdown.
This will be returned as a DateTime object.
An array reference.
This will be returned as a URI object.
The raw JSON used to create this object.
This class provides the following methods:
This method returns an array reference of WebService::PivotalTracker::Comment objects.
This method returns an array reference of WebService::PivotalTracker::Label objects.
This method returns a WebService::PivotalTracker::Person representing the person who is the requester for the story.
This method will update the story's properties as specified.
This method adds a comment to a story. It accepts two arguments:
text
The text of the comment in Markdown.
This is required.
person_id
By default, the comment will be attributed to whoever owns the token, but you can use this to override that.
This method accepts a single argument, name, which is the name of the label to add.
name
Bugs may be submitted through https://github.com/maxmind/WebService-PivotalTracker/issues.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2018 by MaxMind, Inc.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install WebService::PivotalTracker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::PivotalTracker
CPAN shell
perl -MCPAN -e shell install WebService::PivotalTracker
For more information on module installation, please visit the detailed CPAN module installation guide.