Hi guys!
I'm looking to implement conditional logic for a jira automation triggered by a web hook based on the datat specified in the payload.
For example, with this json body being recived:
"{
"collect_from": {
"name": "Joe Smith",
"address_lines": [
"1 Test Road",
"Portsmouth"
],
"postal_code": "PO0 4XX"
},
"notification_email_address": "customer@company.com",
"notification_phone_number": "07171071071",
"number_of_boxes": 2,
"created_date": "2022-07-05 13:32:59",
"booked": "true",}}",
I want to set a JQL condition for "IF {{webhookData.booked}} ~ "true" THEN do X. Sadly I'm getting an error that says "No subsequent actions were performed since JQL condition did not pass due to error running JQL: Invalid JQL: true ~ "true" so it looks like it's finding the correct value, just need the correct JQL for what I need?
Any help would be most appriciated.
thanks!
Mike