<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z000072CO6wCAGOkta Identity EngineWorkflowsAnswered2024-04-16T10:42:11.000Z2021-06-25T20:20:48.000Z2021-07-06T17:58:08.000Z

39twd (39twd) asked a question.

Send Direct Message in Slack to the Approver of the Jira Tickets

Hi guys,

 

So I am trying to create a workflow where if there is a new ticket request in Jira, the ticket approver will be notified by sending a direct message to his/her slack. As of now, I am kinda stuck and wondering if you can give insight.

 

What happens is the UserID of Slack is different from Okta ID and the only thing Slack and Okta common is the email address.

 

I tried to get the approver's email but it seems it is a list so I cannot use it for the Read User card, this card allows me to know who is the Manager that I need to send a message to, and the only way I can utilize the card is by the Customer Email address. Now the big part I am stack is I was not able to get the Managers email from that card it only populates the Manger's name. Is there a way I could get the manager's name or any card I can use for that?

 

Thank you in advance for the help.

Image is not available


  • TimL.74832 (Tlaborn)

    Hello Yule,

     

    Unless custom attributes containing the information you want has already be pre-defined and pre-populated on the specific user you are performing a "Read User" you may need to perform a sequence of events to obtain the information you are looking for.

     

    From looking at your provided screen shot you have the correct sequence of cards. An "Okta - Read User" returning user attributes containing "manager" related values such as the manager's email. The Manager's email should then be able to be utilized in the "Slack - Read User" card to obtain the Slack User ID. This should enable you to utilize the "Slack - Send Direct Message" to send a message to a specific individual.

     

    However, if the "Okta - Read User" card is not returning a manager's email value and only a manager name this is a two part problem:

     

    1). Is there an actual "Manager Email" attribute and is it being populated?

    2). If there is no actual attribute you may need to perform an additional "Okta - Read User" for the manager to pull their attribute information.

     

    So essentially "Okta - Read User" to discover who their manager is >. "Okta - Read User" to obtain Manager attributes needed to progress the flow.

     

     

    Expand Post
This question is closed.
Loading
Send Direct Message in Slack to the Approver of the Jira Tickets