I have an automation rule that used webhook to tickets based on AWS task failure which is working as expected however as task failure is a continuous process it keeps on creating multiple tickets for the same service till we fix the same. I tried to modify the rule to look for existing open issues with same name using lookupissues action however it not detecting existing issues.
I debugged the issue and figured out JQL condition is the problem where it is printing a null value and hence lookupissues is unable to find existing issues. My rule is listed below, anyone else knows how to read data from incoming webhook -