I am looking for a way to active webhook via groovy script (it doesn't have to be system webhook, if this would require only link to channel it would be great to :) ). I have found Webhook class but i do'nt know how to use it,
If someone could help me with it please,
Thanks in advance,
We are using webhooks for communication with slack, but if webhook is set for "Issue Creation" with particular JQL filter it will check every new issue. If you have a lot of webhooks it can cause lower performance for system in future so i am looking if there is a way to trigger for example particular link webhookwith script.
I hope i made everything clear if not let me know :),
So what I would personally use, is a custom workflow for the project in which you want your issues to trigger.
Within that custom workflow, within the onCreate transition I would add an scripted postFunction that triggers your webhook using something like in this example.
That way you do not overload your instance, because the action will only trigger at the onCreate stage of only the subset of projects that you are interested in.
If his doesn't fully help you, let me know.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs