ticket_attach_demo
Attach a demo environment to a ticket so reviewers and humans can see the fix running before approving it. Either pass workspace_id to attach an existing demo, or pass application_id + pr_number + image_tag to deploy a fresh throwaway PR demo (same isolated, TTL-limited lifecycle as deploy_pr_demo) and attach it. The ticket then shows the preview URL and build state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_tag | No | The container image tag the PR build pushed (deploy path). | |
| pr_number | No | The pull-request number (deploy path). | |
| ticket_id | No | The ticket UUID. Optional when ticket_number is given. | |
| workspace_id | No | An existing demo workspace to attach. When given, no new demo is deployed. | |
| ticket_number | No | The per-organisation ticket number. | |
| application_id | No | The Application to deploy a PR demo of (deploy path). | |
| container_port | No | The port the container listens on (defaults to the application's Dockerfile EXPOSE port, or 8080 when none is declared). |