Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira>Slack direct user notifications for 2 workflow transitions only?

Jason Maye April 16, 2019 edited

My developers came to me with a request I need some help with.

 

I have Jira Cloud and Slack integrated today so that Jira updates push to the project channels as expected. 

 

I use a workflow with a few custom statuses, with some post functions on the transitions. One of the post functions changes the "reviewer" custom field to the assignee when a task is moved to the "review" custom status. When the task moves to the "UAT" custom status the assignee is changed to the "tester" custom field. 

 

As the assignee changes when it goes to review, and then UAT, the developers want a direct slack notification (when they become the assignee), but only on those 2 transitions. 

 

It looks like I can possibly set up a webhook as another post function on these 2 transitions, but I can't figure out how to set the webhook. 

 

Can someone help point me in the right direction? 

2 answers

0 votes
Taranjeet Singh
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 16, 2019
Jason Maye April 17, 2019 edited

This is very close to what I need. I already have the channels hooked up. What I don't see is how to apply this directly to a user, not a channel. My people want a DM and not a channel notification. 

Or maybe I just create a channel for each developer and add them as the only person on that channel. Then set up the notifications to the channel, which will essentially be a DM even though it's a channel notification. 

Unless someone has a better idea or can help me direct the post function to a slack user vs a slack channel?

 

Thanks! 

0 votes
Taranjeet Singh
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 16, 2019
Jason Maye April 16, 2019

Thank you Taranjeet. 

To be more clear I need help with configuring the web hook it's self. I know how to add the post function but I dont know what to add to make the notifications kick off to DM's. 

Suggest an answer

Log in or Sign up to answer