When I tried to find issue ticket using JQL query in incomming webhook, If not found issue ticket then occurs exception.
I used this query, key = "{{webhookData.pull_request.head.ref.split("-").get(0)}}-{{webhookData.pull_request.head.ref.split("-").get(1)}}" to find issue in incomming webhook.
Can I accept normal result (just nothing action), not exception? Anyway, I don't want to that exception...
Think about other examples like database system, if we not found a row in the table then it is possible to set default value(null or something else).
How can I do that in JQL?