{"slug": "jira-in-the-age-of-ai-part-3-how-to-tame-the-beast", "title": "Jira in the age of AI, part 3: how to tame the beast", "summary": "A developer outlined a workflow for preparing AI coding agents to implement Jira tickets autonomously, starting with having the agent analyze an existing codebase and senior engineers' commits to derive a documented engineering guide. The team reviews the proposed standards, stores approved guidance in versioned repository docs and agent instructions, and converts checkable rules into lint rules, tests, and CI checks. The developer argues tickets should specify observable outcomes and acceptance evidence rather than implementation details, with Playwright capturing screenshots, videos, and traces as test evidence.", "body_md": "In a previous post, I described giving an AI agent one instruction:\n\nImplement Jira ticket ABC-123.\n\nIt comes back with a tested PR, with automated review feedback already addressed.\n\nA considerable amount of preparation sits behind that sentence.\n\nThe agent needs to understand how we build software in that specific organization, what business problem it is solving, and what evidence we expect when it finishes.\n\nThat preparation starts before the first implementation ticket.\n\nAt the beginning of a project, have the AI perform an extensive analysis of an existing codebase from another project—one that reflects the engineering standards you want to carry forward.\n\nAsk it to trace how the system actually works:\n\n“Follow our coding standards” becomes much more useful when it comes with concrete examples.\n\nHouse style includes naming and formatting. It also includes decisions such as where a transaction begins, how a failure propagates, and whether a new abstraction earns its existence.\n\nThe analysis should produce a proposed engineering guide, with references to the code that supports each recommendation.\n\nThen the team reviews it.\n\nAn existing codebase contains both deliberate standards and historical compromises. Some patterns deserve to become instructions. Others deserve a small plaque explaining what happened.\n\nNext, have the AI analyze substantial commits from the strongest engineers on the team.\n\nLook at feature implementations, bug fixes, refactors, and changes made during review. Include the associated PR discussions and design decisions where they are available.\n\nThe finished code shows the current structure. The changes reveal what experienced engineers chose to improve, simplify, protect, or remove.\n\nLook for recurring judgments:\n\nA commit shows a decision. It doesn’t always explain why that decision was made. The AI should identify proposed rules and supporting examples; the lead should confirm which rules apply to the new project.\n\nThat gives you something much more useful than “write clean code.”\n\nYou get a documented account of what this team considers good engineering, including the things its reviewers consistently watch for.\n\nPut the approved guidance in versioned repository documentation and agent instructions. Make the relevant sections available to each new session. Turn the rules that can be checked automatically into lint rules, tests, or CI checks.\n\nThe payoff is that the lead’s standards become available before the agent writes the first draft.\n\nThe next skill is learning to write tickets an agent can act on.\n\nConsider:\n\nAs a UI developer, I need a Save button.\n\nThat tells us something about the proposed implementation. It tells us very little about the problem.\n\nCompare it with:\n\nPartners need to save an incomplete funding request and resume it in a later session without losing their work.\n\nNow we can define observable acceptance criteria:\n\nThe ticket should also identify relevant dependencies, reference established architectural patterns, and describe the evidence required for acceptance.\n\nThe button can emerge from that specification.\n\nAI can help draft these tickets, propose missing cases, and identify ambiguities. The analyst and business expert still need to settle the business decisions. The developer needs to check that the scope and dependencies make sense.\n\nTechnical work belongs here too. A migration, performance improvement, or infrastructure change can have a precise outcome and measurable acceptance conditions without pretending to be a user clicking something.\n\n**A useful ticket gives the agent enough information to act and the reviewer enough information to judge.**\n\nOnce tickets describe observable outcomes, the testing framework should produce evidence against those outcomes.\n\nFor browser workflows, [Playwright can capture screenshots, videos, and traces](https://playwright.dev/docs/test-use-options#recording-options). Build the reporting integration so selected evidence is attached to the Jira ticket, with links to the full report and larger artifacts where appropriate.\n\nThe reviewer should be able to open the ticket and see:\n\nFor the saved-application example, a screenshot of a “Saved” message proves very little about persistence.\n\nThe test needs to save the draft, end the session, start another session, and verify the values. Screenshots and video make that sequence easier to inspect. Assertions establish whether the expected behavior occurred.\n\nCapture evidence for selected successful acceptance scenarios as well as failures. A framework configured to record only failures won’t provide much demonstration material for completed work.\n\nAnd review the tests against the agreed acceptance criteria. An agent can write an implementation and a test that share the same misunderstanding.\n\n**Evidence is useful when it supports a specific claim about a specific version of the software.**\n\nIndividual test reports help you review a change. Consistent results across runs help you understand the project.\n\nHave the test frameworks emit, or be adapted into, a common versioned schema. At minimum, capture:\n\n| Information | What to record | \n|---|---|\n| Traceability | Jira key, acceptance criterion, stable test identifier | \n| Execution | Run identifier, timestamp, environment, browser or platform where relevant | \n| Code | The commit or build actually tested | \n| Outcome | Status, attempt number, duration, error details | \n| Evidence | Object keys or links for screenshots, videos, traces, and logs | \n| Format | Schema version | \n\nKeep failures, retries, and skipped tests visible. A test that passes on its third attempt has a different history from one that passes immediately.\n\n[Playwright’s reporters](https://playwright.dev/docs/test-reporters) provide structured output you can normalize into this shared format. Other test frameworks can feed the same dataset through their own reporters or adapters.\n\nStore the normalized records in S3 as JSON Lines, with one complete record per test attempt. Keep screenshots, videos, and other binary artifacts under separate prefixes, referenced from those records.\n\nThen use Athena to query the results across runs.\n\nWith ticket and acceptance-criterion mappings available alongside the results, you can investigate questions such as:\n\nAthena queries the structured results. The associated screenshots, videos, and traces remain available for inspection when a result needs explaining.\n\nThis also gives the AI a much better basis for investigation: a consistent record of what ran, against which code, and what happened.\n\nThe reference codebase supplies examples. The commit history supplies engineering decisions. The team turns those observations into explicit standards.\n\nThe Jira ticket supplies the business problem and acceptance conditions.\n\nThe testing framework produces evidence, and the reporting system makes that evidence inspectable across changes and over time.\n\nTogether, those pieces give the agent a useful definition of what good work looks like—and give the humans a practical way to evaluate it.\n\nThat is how you tame the beast.\n\n**Give it the house rules, a real business problem, and a definition of done it has to demonstrate.**", "url": "https://wpnews.pro/news/jira-in-the-age-of-ai-part-3-how-to-tame-the-beast", "canonical_source": "https://dev.to/jlmartel/jira-in-the-age-of-ai-part-3-how-to-tame-the-beast-4o2k", "published_at": "2026-11-28 18:11:00+00:00", "updated_at": "2026-11-28 18:13:51.368490+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "large-language-models", "artificial-intelligence"], "entities": ["Jira", "Playwright"], "also_reported_by": [], "takeaway": "Derive agent coding standards from analysis of an existing codebase and senior engineers' commits, then encode checkable rules as lint rules, tests, and CI checks so standards apply before the agent writes its first draft.", "recommendation": {"advice": "Before assigning implementation tickets, have the agent analyze a reference codebase and senior commits to draft an engineering guide, then encode the approved rules as lint rules, tests, and CI checks.", "playbook": "coding-agents", "playbook_url": "https://wpnews.pro/playbooks/coding-agents"}, "alternates": {"html": "https://wpnews.pro/news/jira-in-the-age-of-ai-part-3-how-to-tame-the-beast", "markdown": "https://wpnews.pro/news/jira-in-the-age-of-ai-part-3-how-to-tame-the-beast.md", "text": "https://wpnews.pro/news/jira-in-the-age-of-ai-part-3-how-to-tame-the-beast.txt", "jsonld": "https://wpnews.pro/news/jira-in-the-age-of-ai-part-3-how-to-tame-the-beast.jsonld"}}