I'm trying to pull a list of incidents that meet a certain search criteria and send them in an email using a JSON like the following.
{"filters":[{"conditions":[{"field_name":"properties.group","method":"in","value":[xxxxx]},{"field_name":"plan_status","method":"not_in","value":["C"]},{"field_name":"properties.mgmt_escalation","method":"has_a_value"}]}],"sorts":[]}
Currently I'm running this using a command like -
gadget --list --query email.json
So far, so good, it returns the incident id and the description. But I need to add a column to the output for incident owner. I don't see a way to do this using gadget.
Any help with doing with gadget or from Python would be greatly appreciated.
------------------------------
Sean Ebeling
------------------------------