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 0.12
Returns an array of JIRA::REST::Class::Issue::Transitions::Transition objects representing the transitions the issue can currently go through.
Returns the transition object for the named transition provided.
Blocks the issue.
Closes the issue.
Verifies the issue.
Resolves the issue.
Reopens the issue.
Starts progress on the issue.
Stops progress on the issue.
Starts QA on the issue.
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).
The JIRA::REST::Class::Issue object this is a transition for.
JIRA::REST::Class
JIRA::REST::Class::Abstract
JIRA::REST::Class::Issue
JIRA::REST::Class::Issue::Transitions::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.
/rest/api/2/issue/{issueIdOrKey}/transitions?expand=transitions.fields
Packy Anderson <packy@cpan.org>
This software is Copyright (c) 2017 by Packy Anderson.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install JIRA::REST::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JIRA::REST::Class
CPAN shell
perl -MCPAN -e shell install JIRA::REST::Class
For more information on module installation, please visit the detailed CPAN module installation guide.