OnCall Schedule updates on Slack Channel!

Not Yet Reviewed

Hello Team,

I want to know that if we have any method by which we can get on-call schedule updates, such as which person is on call from which team and if the respective person is temporary replaced, on slack channel. This way it will be easy to know an on-call schedules updates by team members without login to xmatters.

0

Comments

8 comments
Date Votes

Please sign in to leave a comment.

  • Hi!

      Check out the latest addition to our bot army, the Slack bot! 

    When you invite this bot to a channel, you can then do:

    @xmatters on-call + a group name

    And it will display the current on call details for that group, including any temporary absences. 

    Give that a whirl and see if it fits your needs!

    Happy Friday!
        --- Travis

    0
  • Thanks Travis, I will give a try. !

    0
  • Hi Chiranjeev, 

    Thank you for the question.

    The Slack integration supports the on-call command that will list the target group's current on-call rotation. If you know the name of the group, you will be able to see who is in the current shift's rotation.  However, the current implementation does not include the temporary replacement metadata, only the original shift rotation data. I will create a feature request to capture your suggestion.

    Thank you,

    Kam

    0
  • Thanks Kam,!

    Also, do we have any method by which we can parse reports>events logs in xMatters of a particular communication plan (such as jira -xmatters integration communication pan) into a slack channel?

    0
  • Hi Chiranjeev,

    Sorry, such functionality does not exist. Log entries can be quite large in size and loading them into Slack might not be the most optimal way to manage and parse logs. 

    Thank you,

    Kam

    0
  • I don't want to take the question too literally... I'd like to make sure that it is known that the Integration Platform has triggers that fire throughout the event lifecycle that can be caught and sent to Slack. So you normally wouldn't "parse logs" but would instead catch the triggers you are interested in and redirect content into Slack - and you can be selective to pick the triggers you want so you don't flood Slack with too much. You could do that on a trigger-by-trigger basis, or you could wait for the Event status trigger for event termination, and then use that as an indicator to go ahead and run whatever xM API calls you want to extract completed datasets and submit them to Slack.

    The beauty of the Integration Builder is that it is completely open to you to build out the logic you want. So while Kam's statement about that specific functionality not existing in the out of the box integration, all of the pieces exist to assemble whatever cool machine you'd like.

    0
  • Hey Chiranjeev,

       What exactly do you want from these event logs? As Kam mentioned, these can be rather large if you have an event with a lot of recipients. The slack bot we just launched doesn't have the capability to do that kind of thing, but if you are into a bit of scripting, the Slack Shared Library has some functions for dropping messages into Slack from an xMatters IB script. 

    So you could have an outbound integration script that fires on Event Status. The script would first check and see if the "payload.status == "terminated"", and if so, make an API call to the GET /event API endpoint with the "embed=recipients" flag. This will retrieve all the recipient information for the event. You can filter or limit if there are too many recipients, then build a message and post it to the Slack channel with the Shared Library above. 

    I'm assuming you want the event recipient info after the event has terminated, but you could do something similar with an outbound integration that fires on Device Delivery Update and just send them as they come in. But then you wouldn't have the ability to limit for a large number of recipients.

    I hope that helps?

    Happy Monday!
       --- Travis

    0
  • Thanks Kam, Doug and Travis!.

    I am looking to get notified on slack channel whenever an integration issue happens between Jira and xMatters and also if the temporary replacement for on-call happens. 

    I will try to implement this by script and if I get any doubt then I will post it here.

    0

Didn't find what you were looking for?

New post