JIRA-Client-Automated
view release on metacpan or search on metacpan
lib/JIRA/Client/Automated.pm view on Meta::CPAN
});
The two forms of update can be combined in a single call.
For more information see:
L<https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-issue-issueIdOrKey-put>
=cut
sub update_issue {
my ($self, $key, $field_update_hash, $update_verb_hash) = @_;
my $cur_issue = $self->get_issue( $key );
my $project = $cur_issue->{fields}{project}{key};
my $issuetype = $cur_issue->{fields}{issuetype}{name};
my $issue = {};
$issue->{fields} = $self->_convert_to_customfields($project, $issuetype, $field_update_hash) if $field_update_hash;
$issue->{update} = $self->_convert_update_to_customfields($project, $issuetype, $update_verb_hash) if $update_verb_hash;
( run in 1.169 second using v1.01-cache-2.11-cpan-4d4bc49f3ae )