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

Ankur Bawiskar
Tera Patron

@AbdurRahmanSnow 

it should be available somewhere in flow context when the API is consumed.

you need to check in the flow context

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron

Might be helpful

 

https://www.servicenow.com/docs/bundle/zurich-integrate-applications/page/administer/flow-designer/r...

 

https://www.servicenow.com/community/workflow-automation-forum/flow-designer-utility-payload-builder...

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

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.

 

Hi @Viraj Hudlikar .
Thank you so much for the valuable solution. The 2nd Solution worked through "Outbound HTTP Logs". Really appreciate your reply.