Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63544

jira-trigger-plugin doesn't support events from transitions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • jira-trigger-plugin
    • None
    • Jenkins 2.235.3
      Jira Trigger Plugin 1.0.0

      If I setup a WebHook to be executed on an issue transition, I got an error in Jenkins:

      The webhook looks like this:

      {
         "transition":{
            "workflowId":61899,
            "workflowName":"Release",
            "transitionId":51,
            "transitionName":"Merge Conflicts Resolved",
            "from_status":"Merge Conflicts",
            "to_status":"In progress"
         },
         "comment":"",
         "user":{
            
         },
         "issue":{
            
         },
         "timestamp":1598599363762
      } 

      I get an error in Jenkins:

      2020-08-28 07:55:08.048+0000 [id=23239]	WARNING	java_util_logging_Logger$warning$0#call: Received Webhook callback with an invalid event type or a body without comment/changelog. Event type: null. Event body contains: [transition, comment, user, issue, timestamp]. 

      Is there a way to trigger a job on issue transition from one status to another please?

            ceilfors Wisen Tanasa
            speranskiy Denis Speranskiy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: