The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

JIRA::REST::Class::Issue::TimeTracking - A helper class for JIRA::REST::Class that represents the time tracking for a JIRA issue as an object.

VERSION

version 0.12

METHODS

set_originalEstimate

Sets the original estimate to the amount of time given. Accepts any time format that JIRA uses.

set_remainingEstimate

Sets the remaining estimate to the amount of time given. Accepts any time format that JIRA uses.

update

Accepts a hashref of timetracking fields to update. The acceptable fields are determined by JIRA, but I think they're originalEstimate and remainingEstimate.

READ-ONLY ACCESSORS

originalEstimate

Returns the original estimate as a number of seconds in numeric context, and as a w/d/h/m/s string in a string context.

remainingEstimate

Returns the remaining estimate as a number of seconds in numeric context, and as a w/d/h/m/s string in a string context.

timeSpent

Returns the time spent as a number of seconds in numeric context, and as a w/d/h/m/s string in a string context.

RELATED CLASSES

AUTHOR

Packy Anderson <packy@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Packy Anderson.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)