a59909ca5a
* fix(jira): use shared prompt template with placeholder autocomplete
Default prompt for the JIRA watcher now lives in
config/prompts/jira-issue-watch-default.md (loaded via promptcfg.Get),
matching how the GitHub issue/PR-review watchers source their defaults.
The watch dialog swaps the plain Textarea for the ScriptEditor used by
the GitHub dialog so users get {{...}} autocomplete, and the inline
hardcoded default string is gone from both backend and frontend.
* fix(jira): treat whitespace-only stored prompt as empty on hydrate
CodeRabbit caught that w.prompt || DEFAULT keeps a stored " " value,
which canSave then rejects — dialog reopens in an unsavable state. Fall
back to the default whenever the trimmed value is empty.
---------
Co-authored-by: Kandev Agent <agent@kandev.dev>
740 B
740 B
You have been assigned a JIRA ticket to work on.
Ticket: {{issue.url}} Key: {{issue.key}} Summary: {{issue.summary}} Type: {{issue.type}} Status: {{issue.status}} Priority: {{issue.priority}} Assignee: {{issue.assignee}} Reporter: {{issue.reporter}} Project: {{issue.project}}
Description
{{issue.description}}
Instructions
- Read the ticket carefully and understand the requirements.
- Explore the codebase to understand the relevant code and architecture.
- Implement the changes described in the ticket.
- Write or update tests to cover the changes.
- Run the test suite to ensure nothing is broken.
- Commit your changes with a descriptive commit message referencing the ticket key.