so we want the alert only sent to us when the Jira ticket is a P0 Bug-type ticket but the alert is sent with task tickets too. Do you think it's a bug?
I don't believe there is a bug. The action looks to be configured correctly - especially since all of those conditions need to match in order for Opsgenie to create an alert.
I'm wondering if there is another Create Alert action that's triggering for Tasks, if there's an additional webhook (or automation rule) configured on the Jira side potentially triggering, etc.
So you're aware - you can also configure a JQL in the webhook that only fires when those conditions match. You could edit the existing Jira webhook to only trigger to Opsgenie when for example:
Priority = P0 AND type = Bug
Maybe something like this:
For those alerts triggered on Tasks, you may want to review which integration and Create Alert action is triggering this. That might help troubleshoot this issue:
Hope this helps! Let us know if you have any other questions, issues, etc.