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}}"
Can you provide the result from the API call< this can help to see how we might can get the sys_id?
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?
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}}"
}
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.