Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How I can send a message to Slack channel through JIRA API?

Edited

We have C# worker app on our server that already uses the Atlassian SDK. There are external libraries for Slack as well to send messages but could it be done through the JIRA API?

1 answer

0 votes
Daniel Eads Atlassian Team Jul 26, 2019

Hey Ivan,

Welcome to the Community! Interesting question. Having a notification go through Jira probably makes sense as part of an issue transition/update. We have an Atlassian-built integration for Jira Server that simplifies the actual Slack notifications, based on Jira issue changes. If you're doing something else in Jira at the same time, this is probably the way you want to go.

6e21d578-3598-47e0-ae76-441e5b6c6899Example of Jira Server for Slack configuration based on issue changes

There are some additional apps on the marketplace if you find this way interesting but need it configured a little differently.

I'd probably steer away from trying to tap into Jira APIs for the sole purpose of sending Slack messages. C# isn't a language I've seen people use in Slack API boilerplate examples, but I'm sure the configurations you've already found are probably simpler than trying to trigger that through Jira (without doing an issue action). There's also the additional complexity/failpoint to consider; if Jira is down for some reason (during an upgrade for example), you don't want to be relying on a service that arbitrarily is not responding to your C# app.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

531 views 1 9
Read article

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you