preview_ticket_template
Preview ticket templates by dry-rendering them with synthetic content to see rendered title and description before saving, with fallback warnings and provider transform hints.
Instructions
Dry-render a ticket template against synthetic content — no state touched.
Shows what a TicketTemplate will produce before it's saved on a provider. Returns rendered_title / rendered_description, plus fell_back + warning when a template fails to render (the hard-coded body is used instead), and a provider transform_hint (e.g. Jira flattens markdown into ADF). Does NOT modify the saved template on the active provider.
Args:
template: JSON object for the TicketTemplate. Common fields:
description_template, title_template (Jinja2 source strings); optional
per-stage overrides description_template_{initial,final,failure} and
title_template_{initial,final,failure}; field_defaults (dict of scalar
custom-field defaults). enabled is forced on for the preview render.
stage: Lifecycle slice to render — "initial" (creation), "final"
(resolution), or "failure". Defaults to "final".
provider: Optional provider name; when set, the response includes a
transform hint for how that provider will mutate the rendered body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | ||
| stage | No | final | |
| provider | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |