I have got following message while run jenkins pipeline to update Jira status
jiraTransitionIssue idOrKey: 'Test-28', input: [ transition: [ id: '1291' ], comment: [ body: 'test comment' ] ]
Error Code: 400 Error Message: {"errorMessages":[],"errors":{"comment":"Please provide a comment for this transition"}} [
The error message is from JIRA itself, based on the JIRA version you need to make sure that the input is changed so that it works correct, there is nothing we can do in this plugin to fix this.
Per the latest API docs the structure is bit different from what you are trying to send here.
https://docs.atlassian.com/software/jira/docs/api/REST/8.2.2/#api/2/issue-doTransition
Yes, you are right. I switched to use jira API directly to make it work. Any chance to make the plugin to support the latest API?