Hello,
We're looking to use a webhook to fetch data from Jira for issue updated event that match a specific JQL.
Basically all tickets from a specific issue type that are moved to "Done" should trigger the webhook which should include the following data: 1)issue key 2) status 3) email address
I've tested the webhook but unfortunately it seems it only returns the account ID and display name of the reporter, whereas ideally we would like to receive the email address in the response as well.
I tried switching the email visibility to public from System Settings -> General Configuration but still no email included.
It seems that the personal settings under Profile & Visibility overwrite this setting:
https://jira.atlassian.com/browse/JRACLOUD-80288
We are considering making a callback to Jira with the user ID to get the email as well but less steps would be preferred.
Is there any solutions I'm missing?
Many thanks!
Hi!
The standard webhooks have afixed body that is sent with it, you can't change that.
What you could do is create your own Automation rule that triggers when an issue reaches the Done state. The in the automation rule gather the info you need and use the Send webrequest action to do a call with a body you create yourself.
Jeroen
Hi @Jeroen Poismans thanks for the response!
This solution sounds perfect but unfortunately due to limitations in our subscription plan with Atlassian we can't create new automations.
Currently we are using ScriptRunner, not sure if there is a way to achieve something similar with a scripted automation.
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.