Requirements Engineer

All guides

How to Write a Task: Template, Example and Clear "Done When" Criteria

A task describes work your team has to do even though users won't notice it directly. This guide shows you how to write tasks that anyone on the team can pick up, finish and check off without asking around.

Write a task with AI

A task is work without direct user value

A task is a piece of technical or organizational work the team needs to get done. The people who use the product usually don't see the result. Upgrading a database, renewing a certificate, setting up a test environment, cleaning up old records and preparing a training session for customer support are all typical tasks.

The easiest way to tell a task apart from the other ticket types is to ask who benefits from the result:

  • A user story describes something a user wants: who wants it, what they want and why. The person using the product notices the result.
  • An epic is a larger initiative with a measurable goal that you split into several stories.
  • A bug reports behavior in the existing product that differs from what was expected.
  • A task covers the work needed to keep the product running and secure. It also covers groundwork that makes a story possible.

Here is a quick test. If the only way to fill in "As a customer, I want to … so that …" is to invent a role, you are most likely looking at a task. "As a developer, I want to upgrade the database so that it is up to date" is a task dressed up as a story. Writing it as a task saves you from inventing a benefit.

Subtask or standalone task

Tasks come in two forms. A subtask is one step inside a story. The story "Change the delivery address after ordering" might have the subtasks "Connect address validation to the order form" and "Add the new address to the confirmation email." A subtask has no value of its own. It is done when its step is done. The story is done when all the steps together meet its acceptance criteria. The Jira documentation from Atlassian describes a subtask the same way: a piece of work required to complete its parent.

A standalone task sits in the backlog on its own because it doesn't belong to any story. A version upgrade or shutting down a legacy system are common examples. Standalone tasks compete with stories for room in the sprint, so the ticket has to explain why the work matters now. That reason is what lets the product owner weigh it against everything else.

Structure and template

A good task has a title, a description, "done when" criteria and dependencies. Subtasks also link to their story. The title starts with a verb and names the thing, for example "Move appointment reminders to the new email provider." The description explains in two to four sentences what the work is about and why it is needed. The "done when" list holds checkable points that tell anyone on the team the task is finished. Dependencies list what has to be in place first.

Template

Title <verb plus object, for example "Upgrade the customer database to version 16">

Description <current situation, reason and purpose in two to four sentences>

Done when

  • <checkable point 1>
  • <checkable point 2>
  • <checkable point 3>

Dependencies

  • <what must be finished or decided first, or "none">

Parent story <subtasks only>

The description explains why

A useful description covers where things stand today, what should change and why now. With a task the reason matters more than with a story, because no user need justifies the work. An expiring contract, a security issue, a policy deadline or a story that can't be built without this groundwork are all solid reasons. Without one, a task looks optional and keeps sliding down the backlog.

"Done when" makes a task testable

For a task, the "done when" list does what acceptance criteria do for a story. Each point describes a state that a second person can verify without asking the assignee. "Reminder emails are sent through the new provider" can be checked. "Email is handled" can't. Three to five points are enough for most tasks.

In 2003, Bill Wake paired his INVEST criteria for stories with SMART for tasks: specific, measurable, achievable, relevant and time-boxed. For "measurable" he names one key question: can we mark it as done? A good "done when" list answers that question in advance.

"Done when" versus the Definition of Done

The Definition of Done applies to every item a team delivers. The 2020 Scrum Guide calls it a formal description of the state of the increment when it meets the quality measures required for the product. It usually contains points such as "code reviewed" and "automated tests pass." The "done when" list belongs to one task and says what this particular piece of work has to achieve. You don't need to copy the Definition of Done into each task. Add only what goes beyond it.

Dependencies and size

A dependency is anything the task has to wait for: access to a vendor account, sign-off from the privacy officer, another task or a decision. If you list these early, the team can sort them out before the sprint starts instead of getting stuck halfway through. When there are none, write "none" so readers know you checked.

Keep tasks small. According to the Scrum Guide, teams planning a sprint often break items down into work of one day or less. As a rule of thumb, split a task if it will take more than two or three days or if its "done when" list contains two results that don't depend on each other. Wake recommends setting an expected duration for every task so people know when to ask for help.

A good example

A dental office uses an online booking system that sends appointment reminders by email. The contract with the current email provider is ending. Patients shouldn't notice the switch. That calls for a standalone task:

Good example

Title Move appointment reminders to the new email provider

Description The booking system emails a reminder 24 hours before every appointment through the current email provider. That contract ends on March 31, and the new provider has already been signed. The switch needs to be complete before then so no reminders are missed. Wording and timing of the emails stay the same.

Done when

  • all reminder emails go out through the new provider and the old provider receives no more messages
  • a test booking in the staging environment triggers a reminder with the same text and sender as before
  • the sender domain is verified with the new provider and test emails land in the Gmail and Outlook inboxes
  • undelivered emails show up in the new provider's log and office staff can view them there
  • the credentials for the old provider are removed from the configuration

Dependencies

  • access to the new provider's account
  • DNS records for the sender domain, set by the office's IT contractor

Someone new to the team could take this ticket and finish it. The description gives the reason and the deadline and says what stays the same. Every "done when" point can be checked by another person. The dependencies tell the team whom to contact before starting.

A weak example and what it's missing

Weak example

Title Email

Description Set up new provider. See Tom's email.

This ticket leaves the team guessing. The title has no verb, so it doesn't say what to do. The description points to an email that not everyone has seen and that nobody will find six months from now. There is no reason and no deadline, so the team can't weigh this work against anything else. Without "done when" criteria the assignee decides when to stop. The missing dependencies only surface once the work is blocked waiting for DNS records.

Common mistakes

  • Disguising a task as a story: "As a developer, I want …" pretends there is user value. Write technical work as a task and give the reason in the description.
  • Hiding a story inside a task: The reverse happens too, such as "Add a filter for job applications." If a recruiter in HR will notice the result, it is a story with a role, a need and a benefit.
  • Leaving out the reason: A task without context looks optional and drifts down the backlog until it turns into an emergency.
  • Untestable "done when" points: "Works" or "cleanly implemented" can't be verified. Describe a state someone can see or measure.
  • Prescribing every detail of the solution: The ticket says what has to be achieved. The team usually decides how to build it.
  • Making it too big: A task that takes several weeks is a bundle of tasks. Split it into results you can check one by one.
  • Forgetting dependencies: Waiting on access, approvals or other teams is a frequent reason a small task stays open for days.

Checklist

  • The work has no direct user value. Otherwise, write a story.
  • The title starts with a verb and names the object.
  • The description covers the current situation, the goal and the reason.
  • The deadline is in the ticket if there is one.
  • A second person can verify every "done when" point without asking.
  • The "done when" list adds to the team's Definition of Done instead of repeating it.
  • Dependencies are listed or the ticket says "none."
  • The task can be finished in a few days.
  • A subtask is linked to its story.

Write tasks with AI

The tool on requirements-engineer.dev helps you write a task. You describe what needs to happen in your own words. In guided mode the AI asks about things like the reason, a deadline or dependencies and explains what each detail is for. It then writes the ticket with title, description, "done when" criteria and dependencies. Finally it reviews the ticket for clarity, testability and size. Anything the AI filled in on its own is listed separately so you can check it. Give it a try: Create a ticket with AI.

Frequently asked questions

What is the difference between a task and a user story?

A user story describes something a user wants and delivers value that person will notice. A task describes technical or organizational work with no direct user value. A story has acceptance criteria in the Given/When/Then format, while a task has a "done when" list of checkable points.

When should I create a subtask instead of a standalone task?

Create a subtask when the work is one step toward finishing a specific story. It is attached to that story and finished along with it. Create a standalone task when the work doesn't belong to any story, such as a version upgrade or a switch forced by an expiring contract.

Does a task need acceptance criteria?

It needs checkable criteria, usually called "done when." The Given/When/Then format rarely fits, because it describes behavior from the user's point of view. For a task, plain sentences that each describe a verifiable state work better.

How is "done when" different from the Definition of Done?

The Definition of Done applies to all of the team's work and sets the quality bar, such as code review and tests. "Done when" applies to a single task and says what that task has to achieve. A task is finished when it meets both.

How big should a task be?

A task should be small enough to finish in a few days. If it takes longer or contains several independent results, split it.

Should tasks be estimated?

Teams handle this differently. Some estimate standalone tasks just like stories so they count toward sprint capacity. Many teams don't estimate subtasks separately because the story already has an estimate. Either way, the team should have a rough idea of how long a task will take so it notices when one runs long.

Sources

Last updated: