learn_conventions
Mine closed tickets to learn your team's ticket-writing style, then cache the conventions for validating new or draft tickets.
Instructions
Learn how this team writes tickets, and cache the result.
Slow: it reads the comments and linked changes of up to sample closed
tickets, which is a few hundred API calls. Call it once per project, not
once per question.
Pass from_tickets when the user can name good examples - those are taken
as given and nothing is filtered out. Leave it empty and the tracker is
mined instead: closed tickets are ranked by whether a merge request shipped
for them, whether anyone had to reopen them, and how many clarifying
questions they drew before work started.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | ||
| sample | No | ||
| project | No | ||
| tracker | No | ||
| from_tickets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |