{"id":"code-work-pm-jql-open-ios-bugs","audience":"product-managers","category":"coding","track":"coding","technique":"context","title":"Write a Jira search for the bugs that block a release","free":false,"task":"Write one JQL query for the triage board: bugs in project MOB with priority High or Highest, labeled ios, that are still unresolved, created on or after 2026-10-01. Your team closes tickets with the statuses Done, Won't Fix and Duplicate, so exclude all three (or use resolution is EMPTY). Sort by priority, highest first, then oldest created first. One code block, then under 25 words outside the code.","materialLabel":"Board setup notes (attached to your prompt automatically)","material":"MOBILE TEAM - Jira setup (project key MOB)\n\nIssue types: Bug, Story, Task, Spike\nPriorities: Highest, High, Medium, Low\nLabels in use: ios, android, web, tablet, accessibility, needs-design\n\nWorkflow statuses:\nTo Do -> In Progress -> In Review -> QA -> Done\nOther end states: Won't Fix, Duplicate\n\nCurrent saved filter (from last release, broken):\nproject = MOB AND type = Bug AND status != Done ORDER BY created DESC\n\nNotes from Femi (eng manager):\n- The 4.12 release branch was cut on Oct 1.\n- The filter keeps showing closed duplicates and Android bugs.\n- Android has its own board.\n- Bugs older than Oct 1 are tracked in the backlog review instead.","rules":[{"type":"codeBlocks","count":1},{"type":"maxProseWords","max":25}],"mistakes":[{"title":"Not listing the end states","why":"The AI only excludes Done, so Won't Fix and Duplicate tickets clog the board.","fix":"Add: \"Exclude Done, Won't Fix and Duplicate.\"","checks":["r1"]},{"title":"Leaving out the filters","why":"The AI keeps Android and low-priority bugs because it doesn't know the board's scope.","fix":"Add: \"Only priority High or Highest, label ios, created since 2026-10-01.\"","checks":["r0","r1"]},{"title":"Leaving the sort open","why":"The AI keeps newest-first, so old blockers sink to the bottom.","fix":"Add: \"ORDER BY priority DESC, created ASC.\"","checks":["r2"]},{"title":"Getting a menu of options","why":"The AI likes to offer two or three versions of the query, so you're left to pick and test them yourself.","fix":"Add: \"Give one query only, in one code block, no alternatives.\"","checks":["codeBlocks"]},{"title":"Getting a tutorial","why":"By default the AI explains every part of the code at length, which you then have to scroll past.","fix":"Add: \"After the code, one line under 10 words. Nothing else.\"","checks":["maxProseWords"]}],"promptHints":[{"label":"Lists the end states","patterns":["won'?t fix","duplicate","resolution"]},{"label":"Sets the scope","patterns":["ios","highest","high"]},{"label":"Sets the date","patterns":["2026-10-01","october 1|oct 1"]},{"label":"Sets the sort","patterns":["order by","oldest","sort"]},{"label":"Asks for one answer only","patterns":["\\b(one|single|1)\\s+(query|code block|block|version)","only one","no (alternatives|options|other versions)"]}],"hint":"The old filter only knew about Done. Tell the AI every way a ticket can end, plus the scope and sort of this board.","rubricLabels":["Filters project = MOB, issuetype = Bug, priority in (High, Highest) and labels = ios","Excludes all three closed statuses (status not in (Done, \"Won't Fix\", Duplicate), quoting Won't Fix) or uses resolution is EMPTY, and keeps created >= \"2026-10-01\"","Ends with ORDER BY priority DESC, created ASC"]}