Heartbeats
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
Request
- Base URLhttps://api.atlassian.com/jsm/ops
- URLhttps://api.atlassian.com/jsm/ops/api/{cloudId}/v1/teams/{teamId}/heartbeats
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.stg.atlassian.com/authorizeToken URL: https://auth.stg.atlassian.com/oauth/token scopes: read:ops-config:jira-service-management, write:ops-config:jira-service-management
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"
}Changes
No recorded changes to this operation across all 5 revisions of this API.