HI,
First time EC user here . How do I filter my json file? I only want to display in my jira if it is in approved status
{
"data": {
"iterateIP": {
"IP": [
{
"name": "ACME Corp",
"shortId": "12345",
"state": {
"id": "approved"
}
},
{
"name": "WACO 123",
"shortId": "abcd3",
"state": {
"id": "cancelled"
}
},
{
"name": "Mickey Mouse Inc",
"shortId": "000314",
"state": {
"id": "open"
}
}
]
}
}
}
I tried this but not working
$.data.iterateIP.IP.*[?(@.id=="approved")]
@Julie d_Antin _Elements_