Not able to add comment during jiraTransitionIssue

XMLWordPrintable

    • Type: Task
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: jira-steps-plugin
    • None
    • Environment:
      Jenkins version: CloudBees Jenkins Enterprise 2.138.4.3-rolling

      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"}}
      [
      

            Assignee:
            Naresh Rayapati
            Reporter:
            Yang Huajie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: