How to get the Payload that get sents to JIRA from Flow designer for Incident tickets?

AbdurRahmanSnow
Tera Guru

Good afternoon.!
We have ServiceNow-JIRA integration. We have a requirement, to get the payload that gets sent to JIRA from the Flow designer upon any Incident ticket updates? We need it as a JSON format. Is it possible to get it?

AbdurRahmanSnow_0-1768564452999.png

AbdurRahmanSnow_1-1768564497728.png

Please help. 
@Ankur Bawiskar @Dr Atul G- LNG @Viraj Hudlikar 

 

2 ACCEPTED SOLUTIONS

Viraj Hudlikar
Tera Sage

Hello @AbdurRahmanSnow 

As mentioned by Ankur, you need to check flow execution details

  • Open the Execution Details.

  • Click on the Create Issue (Deprecated) step.

  • Check the Runtime Values.

OR
You can follow below steps:

 

  • Navigate to System Logs > Outbound HTTP Requests.

  • Filter by Target Host (your Jira URL) or URL containing rest/api.

  • Open the record to see the Request Body, which contains the raw JSON sent to Jira.

 

If my response has helped you, hit the helpful button, and if your concern is solved, do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

 

View solution in original post

AbdurRahmanSnow
Tera Guru

Solution:
The best way to capture the payload in json format-

1. Set below system properties
glide.outbound_http.content.max_limit =1000
glide.outbound_http_log.override =true
glide.outbound_http_log.override.level = all

2. Reproduce the Incident update so the flow runs the JIRA action.

3. Go to system logs - outbound http logs - Filter by the JIRA instance host (e.g: domain.atlassian.net) or by the execution timestamp.

4. Open the entry and check Request tab and copy it, that is the JSON sent to JIRA.

View solution in original post

5 REPLIES 5

AbdurRahmanSnow
Tera Guru

Solution:
The best way to capture the payload in json format-

1. Set below system properties
glide.outbound_http.content.max_limit =1000
glide.outbound_http_log.override =true
glide.outbound_http_log.override.level = all

2. Reproduce the Incident update so the flow runs the JIRA action.

3. Go to system logs - outbound http logs - Filter by the JIRA instance host (e.g: domain.atlassian.net) or by the execution timestamp.

4. Open the entry and check Request tab and copy it, that is the JSON sent to JIRA.