Comments from JIRA Webhook doesn't update the worknotes field in ServiceNowDescriptionThere is a scenario where the integration is configured between Service <> JIRA using the OOTB JIRA webhook. We are successful in establishing a 2-way communication between both the tools. But the body field which is passed along with the JIRA webhook is not updated into the work notes of the incident record as configured in the flow. Release or EnvironmentOrlando Patch 1aCauseWhen we look at the flow inside the flow designer, the comment field triggered by the JIRA webhook doesn't hold the body field values directly under its tag. The comment tag holds the comments tag which actually holds the values for body field values. So when you use the data pill like inputs --> comment --> body to pass the values to work notes field of an incident record, it fails as the body field doesn't fall under the comment tag. Sample data triggered from webhook into the flow: "comment": {"comments": {"id": "148096","body": "This is a first test comment" ---> You cannot call this like comment.body to map this value to the work notes. }} On the other hand, there is no option in JIRA to pass the body field values directly under the comments tag. ResolutionHere is the logic which should be followed to extract the values for the body tag from the comments tag and then pass this as an input to the next action which updates the work notes. - Create an action with input as comments that picks the value from flow inputs - In the flow input, get the value of the comments field from the JIRA response as this contains the actual body values ( You can use comment.comments) - Using the script step in the action-> pass the payload of the comments field to input variables of the script step - In the script step, use the code mentioned below to extract the body into output variables - Use these output variables as data pill inputs to the next action in order to update the work notes in the next actionsSample code to be used in the script step to parse the required body values from the payload:(function execute(inputs, outputs) {var responseBody = JSON.parse(inputs.response);var result_field = responseBody;outputs.body = result_field.result.body;}// ... code ...})(inputs, outputs);The output of the script step is the fields that hold the values for the body which can be used as inputs to the next action