Hi,
Is it possible to stop a webhook triggering if the event was caused by a particular user?
The webhook post contains the user json block so I can do the check in my consuming code however I wondered if perhaps there was a way to avoid it even being sent in the first place.
Thanks,
John
I think you can not disable it for a particular user on Jira side. You should do the logic on the receiver side like you wrote.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
As long as you have access to the JIRA administration console you can disable the Webhook.
Cheers,
Branden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@somethingblueI guess your solution would disable the webhook for all users not for a particular user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexey,
From his description it sounded like he may have wanted to disable that one webhook all together:
I wondered if perhaps there was a way to avoid it even being sent in the first place.
The entire webhooks platform would not be disabled, only that one webhook:
Cheers,
Branden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @somethingblue,
Thanks for your response but as @Alexey Matveev says I was looking for a solution that would allow the webhook to only fire on certain user events, not for it to be disabled completely.
Thanks,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for following up. I read it as not sending the webhook at all, however, I'm glad Alexey was able to correctly asses what you were trying to do and provide the assistance needed!
Thanks @homoluden!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a way to disable webhook for only a certain Jira project instead of disabling for all projects?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.