Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
bgColor#D1FFBD#c8f7c8
POST/integration/V1/sla-custom-event/add

This endpoint allows viewing the states of all SLA metrics in the given issue.

...

titleParameters

...

 Allows users to manually add an event that will trigger SLA state change.

URL: https://slaapp.almarise.com/integration/V1/metrics-state/10039?showUiMetaData=falseResponse :
Expand
Response example
titleRequest
body
Code Block
[
    {
        "slaMetricId": "6729eb08a66f5026ea86fbd1",
        "ticketId": "10039string",
        "slaMetricState"metricId": "ACTIVEstring",
        "deadlinetriggerName": "2024-12-05T11:32:19.893+01:00string",
        "timeSpent": {
            "millis": 30758956,
            "shortText": "8h 32m 38s"
        },
        "timeRemaining": {
            "millis": -19958956,
            "shortText": "-5h 32m 38s"
        },
        "totalTime": {
            "millis": 10800000,
            "shortText": "3h"
        },
        "isBreached": true,
        "flowingDeadline": false,
        "wasRestarted": false,
        "metricName": "SLA metric 1.0",
        "visible": true
    },
    {
        "slaMetricId": "6751a9af00835a31fb1c27ac",
        "ticketId": "10039",
        "slaMetricState": "ACTIVE",
        "deadline"slaEventAction": "START",
  "actionDate": "2024-12-05T1106T11:3219:19.893+01:00",
        "timeSpent": {
            "millis": 30758956,
            "shortText": "8h 32m 38s"
        },
        "timeRemaining": {
            "millis": -19958956,
            "shortText": "-5h 32m 38s"
        },
        "totalTime": {
            "millis": 10800000,
            "shortText": "3h"
        },
        "isBreached": true,
        "flowingDeadline": false,
        "wasRestarted": false,
        "metricName": "Time To Resolution",
        "visible": true
    }
]22.270Z"
}



Expand
titleResponse example

Request URL: https://slaapp.almarise.com/integration/V1/sla-custom-event/add

Response body:

Code Block