v3
latestOpenAPI 3.0.12026-07-31240345599.7 KBHeartbeats
Create heartbeat
Create heartbeat request is used to define heartbeats in Jira Service Management. A heartbeat needs to be added, before sending heartbeat messages to JSM
post/api/{cloudId}/v1/teams/{teamId}/heartbeats
Path parameters
teamIdstring required
Identifier of the heartbeat owning team.
Request body
Example request
{
"name": "DNS Server Checker",
"description": "It checks whether server is online or not",
"interval": 5,
"enabled": true,
"intervalUnit": "minutes",
"alertMessage": "HeartbeatName is expired",
"alertTags": [
"critical",
"dns"
],
"alertPriority": "P3"
}Response
Returned if the request is successful.
Example response
{
"name": "Service Heartbeat",
"description": "Heartbeat for checking service health",
"interval": 5,
"intervalUnit": "Days",
"status": "Responsive",
"ownerTeamId": "4b26961a-a837-49d2-a1fe-0973013e3c3b",
"alertMessage": "Service does not respond",
"alertTags": [
"HighPriority",
"Database"
],
"alertPriority": "P2"
}