Skip to content

feat: add Jira heartbeat management components#4888

Merged
forestileao merged 8 commits into
superplanehq:mainfrom
felixgateru:feat/jsm-heartbeats
May 29, 2026
Merged

feat: add Jira heartbeat management components#4888
forestileao merged 8 commits into
superplanehq:mainfrom
felixgateru:feat/jsm-heartbeats

Conversation

@felixgateru
Copy link
Copy Markdown
Collaborator

@felixgateru felixgateru commented May 19, 2026

Resolves #4893

What changed

Adds four Jira Service Management (JSM) Operations workflow components:

  • Create Heartbeat — register a new heartbeat monitor (interval, alerts, etc.)
  • Ping Heartbeat — report liveness for an existing heartbeat
  • Update Heartbeat — change heartbeat settings (optional fields via toggles)
  • Delete Heartbeat — remove a heartbeat from a team

Why

Enable Superplane workflow to manage Jira Heartbeats that detects when scheduled jobs, cron tasks, or automated systems stop reporting in. If a heartbeat is not pinged within its expected interval, Jira Service Management raises an alert.

How

Backend:

Implemented new client methods in pkg/integrations/jira/client.go for heartbeat endpoints.
Registered actions in pkg/integrations/jira/jira.go and updated token permission guidance.
Added tests

Frontend:

Added Jira workflow v2 mappers
Registered mappers and event states in web_src/src/pages/workflowv2/mappers/jira/index.ts
Added mapper specs

Demo

Screencast.From.2026-05-20.03-40-16.webm

@superplanehq-integration
Copy link
Copy Markdown

👋 Commands for maintainers:

  • /sp start - Start an ephemeral machine (takes ~30s)
  • /sp stop - Stop a running machine (auto-executed on pr close)

@felixgateru felixgateru force-pushed the feat/jsm-heartbeats branch 2 times, most recently from 70b9d85 to 1f4133d Compare May 19, 2026 14:09
@felixgateru felixgateru marked this pull request as ready for review May 19, 2026 14:09
Comment thread pkg/integrations/jira/update_heartbeat.go
Comment thread pkg/integrations/jira/create_heartbeat.go
@felixgateru felixgateru force-pushed the feat/jsm-heartbeats branch from 1f4133d to dfe49e2 Compare May 19, 2026 23:35
Comment thread pkg/integrations/jira/client.go Outdated
Comment thread pkg/integrations/jira/update_heartbeat.go Outdated
@felixgateru felixgateru force-pushed the feat/jsm-heartbeats branch 2 times, most recently from e63e930 to 576b5fc Compare May 20, 2026 08:02
Comment thread pkg/integrations/jira/list_resources.go Outdated
Comment thread pkg/integrations/jira/create_heartbeat.go Outdated
Comment thread pkg/integrations/jira/update_heartbeat.go Outdated
Comment thread pkg/integrations/jira/update_heartbeat.go
Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
@felixgateru felixgateru force-pushed the feat/jsm-heartbeats branch from c47f635 to 2f66d3e Compare May 29, 2026 13:36
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2f66d3e. Configure here.

Comment thread pkg/integrations/jira/update_heartbeat.go
Comment thread pkg/integrations/jira/delete_heartbeat.go
Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
@forestileao forestileao merged commit 9e230ab into superplanehq:main May 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Jira] add heartbeat management components

2 participants