Skip to content

feat: Expand elastic integration to add case management components#3474

Merged
forestileao merged 15 commits intosuperplanehq:mainfrom
WashingtonKK:feat/elastic-actions
Mar 20, 2026
Merged

feat: Expand elastic integration to add case management components#3474
forestileao merged 15 commits intosuperplanehq:mainfrom
WashingtonKK:feat/elastic-actions

Conversation

@WashingtonKK
Copy link
Copy Markdown
Collaborator

@WashingtonKK WashingtonKK commented Mar 16, 2026

Implements #3468

This PR expands the elastic integration by adding three components for case management:

  • onCaseStatusChange : Trigger
  • createCase : Action
  • updateCase : Action
  • getCase : Action

Demo Video

Open in Web Open in Cursor 

@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)

@WashingtonKK WashingtonKK force-pushed the feat/elastic-actions branch 2 times, most recently from f79fbc6 to 102018d Compare March 16, 2026 17:07
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
@WashingtonKK WashingtonKK force-pushed the feat/elastic-actions branch from 102018d to 7fe95da Compare March 16, 2026 17:11
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
…hange trigger

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
@WashingtonKK WashingtonKK marked this pull request as ready for review March 18, 2026 07:50
…ality

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
…ctionality

- Updated documentation for the When Case Status Changes trigger to clarify its functionality.
- Added CaseStatuses to OnCaseStatusChangeMetadata for tracking case statuses.
- Modified the Setup method to initialize CaseStatuses and resolve case metadata.
- Enhanced the HandleWebhook method to emit events only for cases whose status has changed.
- Updated the UpdateCase component to always fetch the latest case version before updates.
- Removed the version field from the UpdateCaseConfiguration as it is now fetched automatically.
- Improved test cases to reflect changes in functionality and ensure proper behavior.

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
@WashingtonKK WashingtonKK changed the title feat: Expand elastic integration feat: Expand elastic integration to add case management components Mar 18, 2026
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
…sion from Kibana

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
…ved clarity

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Comment thread pkg/integrations/elastic/get_case.go
…dling

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Comment thread pkg/integrations/elastic/get_case.go
Comment thread pkg/integrations/elastic/get_case.go
…stamp and refining case details retrieval

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
cursoragent and others added 4 commits March 20, 2026 13:05
Co-authored-by: Pedro Leão <forestileao@users.noreply.github.com>
Co-authored-by: Pedro Leão <forestileao@users.noreply.github.com>
Signed-off-by: Pedro F. Leao <pedroforestileao@gmail.com>
Signed-off-by: Pedro F. Leao <pedroforestileao@gmail.com>
@forestileao forestileao merged commit daea67e into superplanehq:main Mar 20, 2026
4 checks passed
EtnDiaz pushed a commit to EtnDiaz/superplane that referenced this pull request Mar 28, 2026
…uperplanehq#3474)

<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
Implements superplanehq#3468 

This PR expands the elastic integration by adding three components for
case management:

- `onCaseStatusChange` : Trigger
- `createCase` : Action
- `updateCase` : Action
- `getCase` : Action

### Demo Video


<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-3ff4e703-92ee-4406-9bf1-cd609cc5e3a6"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-3ff4e703-92ee-4406-9bf1-cd609cc5e3a6"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

---------

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: Pedro F. Leao <pedroforestileao@gmail.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Pedro Leão <forestileao@users.noreply.github.com>
Co-authored-by: Pedro F. Leao <pedroforestileao@gmail.com>
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.

5 participants