I am creating 2 webhook:
Trigger Webhook on Issue Creation
→ Trigger the webhook only when an issue is created by any user other than "ABC".
Trigger Webhook on Issue Update (Issue update and comment create
→ If the issue was created by any user (including "ABC"), trigger the webhook only when the issue is updated by someone other than "ABC".
On the webhook configuration in Jira you can only set a condition based on JQL to limit execution.
See https://developer.atlassian.com/cloud/jira/platform/webhooks/
Or
Create automation rules, you will need 2 rules.
One has the trigger work item creation and one has work item edited/updated
Then set the conditions that you need, for example for the create rule reporter is not user ABC
Then use the actions you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.