Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

can't display the sys_id from servicenow to jira

Maralee Grajo September 24, 2025

Hi,

 

can you help me to display the sys_id from servicenow to jira after creating the ticket or comment out in the jira? I have tried to used the webResponse.body.value.sys_id or {{webResponse.body.result.0.sys_id}} in the comment but still can't fetch the field. Here are my details when submitting web request:

GET as http method

Web request URL: <company_name>/api/sn_chg_rest/change?correlation_id={{issue.customfield_17508}}

custom data: "sys_id": "{{webResponse.body.result.0.sys_id}}"

1 answer

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2025

Hi @Maralee Grajo 

Can you provide the result from the API call< this can help to see how we might can get the sys_id?

Maralee Grajo September 25, 2025

Hi Marc,

regarding the comment field I have tried to update the web response, but I have a issue here, after getting the response from the web request, I need to hide the respond to the other user because it display to many information and I need to set the value of sys_id to fetch the extract data I need here is the data that I used: {{issue.comments.last.body.substringBetween("sys_id={display_value=", "value=").remove(",")}} .

Is there's other options to limit the data that I fetch in the reponse.body?

Screenshot 2025-09-26 105312.png

And also I have created a transition of ticket but I have encountered this issue: Invalid URL specified when publishing web request.

Here is my details in send request:

Custom data: 

{
"state": "Assess",
"sys_id": "{{issue.customfield_17513}}"
}

Screenshot 2025-09-26 111303.png

Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events