Lesson 3 of 8 · Agile & DevOps for DBAs

Planning and Tracking Work

How DBAs use Jira, GitHub Issues, and similar tools: epics, stories, and tasks, writing good database stories, and linking work to code.

Beginner 7 sections 7 min read

Why DBAs track work in a tool

Agile teams keep their backlog and board in a planning and tracking tool, such as Jira, GitHub Issues, or Azure Boards. For a DBA, these tools are where requests arrive, where database work gets planned alongside the application work, and where the effort behind keeping databases healthy becomes visible.

Without a shared tool, DBA work tends to live in emails, chat messages, and memory. Requests get lost, nobody sees how much maintenance work there is, and it's hard to know what's been done. A tracking tool fixes that:

  • Every request and task has one record, with its history, discussion, and attachments.
  • The team's board shows what's waiting, in progress, and done.
  • Code changes, pipelines, and incidents link back to the work item that explains why they happened.
  • Reports show where time goes, which helps argue for more people, or for automating repetitive work.

Epics, stories, tasks, and bugs

Work is broken down into a hierarchy, from large goals to small, finishable pieces. The names are much the same in every tool:

Epic: Automate Oracle patching Ansible patching rolePatching pipelineAudit report of patches Story · 5 pointsStory · 3 pointsStory · 2 points Write the roleTest on dev Sub-tasks: the small steps of one story
Epic
A large piece of work that takes several sprints, such as "Migrate the sales databases to OCI" or "Automate Oracle patching".
User story
A small piece of value that can be finished in one sprint, written from the point of view of the person who benefits. The classic form is: As a [who], I want [what], so that [why].
Task and sub-task
Technical work that isn't a user-facing story, such as "Rotate the replication password", or a step inside a story.
Bug
Something that doesn't work as intended, such as a nightly job that fails on month-end data.
Story points
A relative estimate of effort and complexity, often on a scale such as 1, 2, 3, 5, 8, 13. Points compare stories with each other rather than predicting hours, and the team's average points per sprint is its velocity.

Writing good database stories

A good story says who needs it and why, and has acceptance criteria: clear conditions that show when it's done. Compare:

VagueClear
"Fix the database."As a sales manager, I want the daily sales report to finish in under a minute, so that I can review numbers before the 9 a.m. meeting.

Acceptance criteria for that story might be:

  • The report query runs in under 60 seconds on production-sized data.
  • No other critical query slows down by more than 10%.
  • The change is deployed through the pipeline, with a tested rollback script.

Teams also agree a definition of done that applies to every story. For database work, it often includes: the change is in Git, it's been reviewed, it passed the pipeline's tests, it's been applied to test and production, monitoring is in place, and the runbook is updated.

Jira

Jira, from Atlassian, is the most widely used tracking tool in large companies. Each team has a project with a short key, such as DBA, and every item gets an ID from it, such as DBA-142. Atlassian now calls these items work items; you'll still hear them called issues or tickets.

Boards
A Scrum board shows the current sprint, with a backlog view for planning. A Kanban board shows a continuous flow with WIP limits. A DBA team often uses Kanban for requests, while joining the application teams' Scrum boards for project work.
Workflows
The statuses an item moves through, such as To Do, In Progress, In Review, and Done, which can require approvals for changes to production.
Request forms
With Jira Service Management, other teams submit requests, such as "new database" or "grant read access", through a form, which creates a work item with all the details the DBA needs.
Dashboards and reports
Burndown charts, velocity, cycle time, and custom charts of the team's work.

Here's what the DBA team's board might look like. Cards move from left to right, and swimlanes, the horizontal bands, group related work so it doesn't get mixed up:

BACKLOGTO DOIN PROGRESSREVIEWDONE INCIDENTS · WORKED FIRST DBA-155Backup job failedHighest · ama DBA-149Tablespace fullHighest · kofi EPIC · AUTOMATE ORACLE PATCHING DBA-212Patching pipeline3 points · yaw DBA-211Ansible role5 points · kofi DBA-213Audit report2 points · ama DBA-210Test inventory2 points · yaw REQUESTS DBA-150Fix the databaseno estimate DBA-158Read access for BI1 point · ama DBA-142Index orders fordaily sales report AC: report under 60 s3 points · kofi DBA-147New schema2 points · yaw Vague: no who, why, or "done" Refined: goal, criteria, estimate, owner
Swimlanes
Rows that split the board, here by kind of work: incidents at the top, worked before anything else; the epic the team is delivering; and incoming requests. Jira can also make swimlanes by assignee, priority, or any query.
The vague card (DBA-150)
"Fix the database" says nothing about what's wrong, who's affected, or how anyone would know it's fixed. It stays in the backlog until it's refined, usually by asking the requester questions in backlog refinement.
The refined card (DBA-142)
It has a clear goal, acceptance criteria (the report runs in under 60 seconds), an estimate, and an owner, so Kofi can start work and everyone will agree when it's done. Only refined cards should move into To Do.

When a commit message or branch name includes an item's key, Jira links the code to the work item automatically, so anyone can see what changed and why:

$ git checkout -b DBA-142-sales-report-index
$ git commit -m "DBA-142 Add index on orders(order_date, region) for the daily sales report"

GitHub Issues and Projects

Teams whose code lives on GitHub often track work there too. GitHub Issues holds the work items, with labels, assignees, milestones, and sub-issues, and GitHub Projects arranges them on boards and tables. The big advantage is that work items sit right next to the code and pull requests.

Here's what Kofi's issue for the slow sales report might look like:

Index orders table for daily sales report #87 Open Kofi opened this issue · 2 comments The daily sales report takes 4 minutes.Target: under 60 seconds on production-sized data.Query plan attached.No other critical query should slow down. Pull request #91: Add index on orders(order_date, region) says "Fixes #87", so merging it closes this issue ASSIGNEE kofi LABELS databaseperformance PROJECT DBA boardStatus: In progress

Everything about the work is in one place: what's wrong and what "done" looks like, who's on it, labels for filtering, and where it sits on the team's project board. A pull request that says Fixes #87 in its description closes issue 87 automatically when it's merged, so the issue, the code change, and the review are all connected.

Other tools

ToolWhere you'll see it
Jira and Jira Service ManagementMost large enterprises, often alongside Confluence for documentation
GitHub Issues and ProjectsTeams whose code lives on GitHub
Azure BoardsMicrosoft-centered companies using Azure DevOps
GitLab issues and boardsTeams using GitLab for code and pipelines
ServiceNowIT service management: incidents, changes, and requests in large organizations, often connected to Jira. See the next lesson.

The tool matters less than the habits: one place for all work, clear stories with acceptance criteria, a board everyone can see, and links from every change back to the reason for it.

Key takeaways

  • Tracking tools give every request and task one record, make DBA work visible, and link changes to their reasons.
  • Work breaks down from epics, to stories, to tasks and sub-tasks, with bugs for things that don't work. Story points estimate relative effort.
  • Good database stories say who needs what and why, with clear acceptance criteria and a shared definition of done.
  • Jira boards show work moving across columns, with swimlanes to separate incidents, project work, and requests. Only refined cards should move into To Do. GitHub Issues keeps work next to the code.
  • Put recurring DBA work on the board, so it gets time and, eventually, automation.