ServiceNow incident does not update when Jira Automation transitions an issue, and a false success is reported on retryIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } An integration fail when a Jira Automation rule sends a request to ServiceNow to update an incident state, but the update does not occur. The sn_jira_spoke (Jira Spoke) Default Callback Scripted REST API operation returns a 500 error on the first attempt. On retry, Jira incorrectly reports that the update succeeded, but no change occurs in ServiceNow. Symptoms<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } A Jira Automation rule is configured to update a linked ServiceNow incident state (for example, to Resolved) when a Jira issue is transitioned (for example, to Done). The ServiceNow incident does not update.Jira displays the following message on the first attempt: Status failed to update in ServiceNow. Error code 500. One more attempt will be made.Jira displays the following message on the retry attempt: Status updated in ServiceNow. No corresponding state change occurs in ServiceNow.The ServiceNow syslog contains a 500 error for the sn_jira_spoke Default Callback Scripted REST API operation at the time of the Jira transition.The ServiceNow node log contains the following exception chain: com.glide.rest.domain.ServiceException: Exception while reading request Caused by: com.glide.rest.util.RESTRuntimeException: The payload is not valid JSON. Caused by: java.lang.IllegalArgumentException: Cannot decode: java.io.StringReader@... Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value at [Source: REDACTED]; line: N, column: N The failure occurs on some Jira transitions but not all. Transitions involving Jira issues with multi-line text in certain fields (such as the description or a comment field) fail consistently, while transitions for issues without multi-line text in those fields succeed.The syslog confirms the Scripted REST API operation aborted before reaching the decision table or triggering any subflow. No automated state change was recorded on the affected incident. Facts<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Integration type: Jira Automation using a Send Web Request action — not a traditional Jira webhook.The Jira Automation payload includes a text field (such as the Jira issue description or a comment field) that contains a literal newline character (ASCII line feed, CTRL-CHAR code 10).The sn_jira_spoke Default Callback Scripted REST API operation accesses request.body.data at line 10 of its operation script to parse the inbound payload. This call fails when the payload is not valid JSON.Both the first attempt and the retry send identical payloads and produce identical failures. The retry false success is a Jira-side misinterpretation of the HTTP response.The failure position in the payload (line and column of the JsonParseException) is consistent across all occurrences, confirming the same field is always the source of the malformed content.No changes to the ServiceNow instance are required to resolve this issue Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Applies to any ServiceNow release running the sn_jira_spoke store application. Confirmed on Zurich Patch 7. Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The Jira Automation Send Web Request action includes a text field in the request body payload that contains a raw newline character (ASCII line feed, CTRL-CHAR code 10). Valid JSON requires control characters inside string values to be escaped using a backslash sequence (\n). Jira Automation does not escape this character automatically when building the request body. When ServiceNow receives the payload, the JSON parser (Jackson) encounters the unescaped control character and throws a JsonParseException. This causes the sn_jira_spoke Default Callback Scripted REST API operation to throw a ServiceException: Exception while reading request when accessing request.body.data, and the script aborts before any incident update logic is reached. A 500 response is returned to Jira. On retry, Jira Automation sends an identical payload containing the same unescaped character. The failure is identical to the first attempt. The false success message shown by Jira on the retry is a Jira-side behavior; it does not reflect a successful update in ServiceNow. The intermittent nature of the failure, where some transitions succeed and others do not — occurs because the offending field is only populated with multi-line content on certain Jira issues. Issues where the field is absent or contains only single-line text produce a valid JSON payload and process successfully. Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The fix is on the Jira side. No changes to the ServiceNow instance are required. Ask your Jira administrator to update the Automation rule using one of the following options. Option 1 — Remove the multi-line field from the payload (recommended) This is the simplest resolution. If the multi-line text field is not required for the ServiceNow update to function, remove it from the request body entirely. In Jira, open the Automation rule that sends updates to ServiceNow.Open the Send Web Request action.In the request body configuration, remove any fields that may contain multi-line text, such as the issue description or comment fields.Save and publish the Automation rule.Test by transitioning a Jira issue with a multi-line description and confirm the linked ServiceNow incident updates as expected. Option 2 — Escape newline characters in the payload If the multi-line text field is required in the payload, add a transformation step in the Jira Automation rule to replace literal newline characters before the field is included in the request body. In Jira, open the Automation rule that sends updates to ServiceNow.Open the Send Web Request action.For each multi-line text field in the request body, add a Jira Automation text transformation to replace literal newline characters with the escaped sequence \n.Save and publish the Automation rule. Test by transitioning a Jira issue with a multi-line description and confirm the linked ServiceNow incident updates as expected. Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } KB0860113 — Inbound Scripted REST request fails with HTTP-500 responseJira Automation documentation — Send web request actionServiceNow Developer — Scripted REST API request body