Hi, team.
In the Perl environment, I want to update the custom field value of a specific issue using the JIRA REST API.
1 CASE:
my $issue_progress = $jira -> POST("/issue/".$row[12]."");
fields => {
customfield_10221 => $vprogress
};
2 CASE:
my $issue = $jira -> POST('/issue', undef, {
fields => {
issue => {id => $row[12]},
customfield_10221 => $vprogress
},
});
3 CASE:
my $issue_progress = $jira->POST('/rest/api/2/issue/'.$row[12], undef, {
fields => {
customfield_10221 => $vprogress
}});
'$ row [12]' is the Issue id.
I have tested all three methods above. However, errors occur.
I saw https://docs.atlassian.com/software/jira/docs/api/REST/8.0.0/#api/2/issue-editIssue. But I do not know.
Waiting for help from experts.
thank you.
alex.