How to capture Incident payload from Bigpanda in Ansible AWX and print it

Hello Ansible Experts,

I have integrated Bigpanda with Ansible AWX, please refer below documentation

I am supposed to receive the Incident payload specified in below documentation in ansible awx when the AWX template is triggered from Bigpanda, however I am not able to retrieve the payload and print it .

I am using below sample playbook and triggering it from awx template . The template is triggered from Bigpanda,. Also prompt on launch has been enabled in template for variables
"–

  • name: Print Bigpanda payload
    hosts: localhost
    gather_facts: no

    tasks:

    • name: Print the entire payload
      debug:
      var: incident
      "

The template and playbook is being triggered, however I am getting message as “incident undefined”, the payload is not being captured here

There is no way to modify the payload and keep it within extra_vars in Bigpanda

Please suggest

Assuming you are using a webhook from BigPanda to trigger the AWX Job Template, you will want to display the awx_webhook_payload variable. As a security measure, AWX nests all payload data under this variable.

https://ansible.readthedocs.io/projects/awx/en/latest/userguide/webhooks.html#payload-output

---
# you can use "```" to format blocks of code like this
# I'm using "``` yaml" to enforce yaml syntax highlighing
# use "```" again to end the block
- name: Print Bigpanda payload
  hosts: localhost
  gather_facts: no

  tasks:
    - name: Print the entire payload
      debug:
      var: awx_webhook_payload