NAME
JIRA::REST::Class::Issue::Transitions - A helper class for JIRA::REST::Class that represents the state transitions a JIRA issue can go through. Currently assumes a state diagram consisting of Open/In Progress/Resolved/Reopened/In QA/Verified/Closed.
VERSION
version 0.12
METHODS
transitions
Returns an array of JIRA::REST::Class::Issue::Transitions::Transition objects representing the transitions the issue can currently go through.
find_transition_named
Returns the transition object for the named transition provided.
block
Blocks the issue.
close
Closes the issue.
verify
Verifies the issue.
resolve
Resolves the issue.
reopen
Reopens the issue.
start_progress
Starts progress on the issue.
stop_progress
Stops progress on the issue.
start_qa
Starts QA on the issue.
transition_walk
This method takes three unnamed parameters: + The name of the end target issue status + A hashref mapping possible current states to intermediate states that will progress the issue towards the end target issue status + A callback subroutine reference that will be called after each transition with the name of the current issue state and the name of the state it is transitioning to (defaults to an empty subroutine reference).
READ-ONLY ACCESSORS
issue
The JIRA::REST::Class::Issue object this is a transition for.
RELATED CLASSES
SEE ALSO
JIRA REST API Reference Do transition
The fields that can be set on transition, in either the fields parameter or the update parameter can be determined using the /rest/api/2/issue/{issueIdOrKey}/transitions?expand=transitions.fields
resource. If a field is not configured to appear on the transition screen, then it will not be in the transition metadata, and a field validation error will occur if it is submitted.
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)