I'm trying to set up an automation rule for setting up webhook to post to slack. I want to send custom data to the webhook url, but the option for custom data is disabled (greyed out). Can someone please help me here
Thanks in advance
Hey Joshua, welcome to the Community!
There's actually a separate action in the actions list for sending a Slack message, and using the webhook URL you've already got:
With this action, you can create your own message and include data from the issue / actors on the issue using smart values. You can also override which channel the message goes to (as each webhook for Slack has a default channel / DM it sends to). More information is available in the documents for this Automation action if you need it, but happy to answer questions as well.
TLDR: You'll want to use the Send Slack message action in Automation instead of "Send web request".
Thanks for the quick reply.
I tried through that and its working fine. But in my case I want to send payload data for some stuffs. Thats one of the reason I switched to this option. So is there a way for that. Keeping aside those things. For me generally this Custom data in webrequest is disabled even if I use webhooks for Jenkins too. Any idea about that ?
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event