Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following JSON is provided as the basic example in the SLA Notification provider. You can use it as it is or make further customizations to it. 


Code Block
{
  "type": "AdaptiveCard",
  "body": [
    {
      "type": "TextBlock",
      "size": "Large",
      "weight": "Bolder",
      "text": "$$APPLICATION$$"    //this block displays the name of application "SLA PowerBox"
    },
    {
      "type": "Container",
      "items": [
        {
          "type": "TextBlock",
          "weight": "Bolder",
          "text": "$$TITLE$$"
        },
        {
          "type": "TextBlock",
          "size": "Small",
          "weight": "Bolder",
          "text": "$$SUBTITLE$$"
        },
        {
          "type": "TextBlock",
          "text": "$$MESSAGE$$",
          "wrap": true
        },
        {
          "type": "ActionSet",
          "actions": [
            {
              "type": "Action.OpenUrl",
              "title": "View issue",
              "url": "$$VIEWURL$$"
            }
          ]
        }
      ]
    }
  ],
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.5"
}        
    











Image Added