AI acceptance criteria in Jira: a prompt, two examples and a team review

Get good AI acceptance criteria for Jira stories: Given/When/Then or rule lists, a prompt that works, two worked examples, and how to review drafts as a team.

AI can draft acceptance criteria for a Jira story in seconds. Whether they’re any good depends on the format you ask for, what you tell the model, and how your team reviews the draft before the story enters a sprint.

This guide compares Given/When/Then with rule lists, gives a prompt that produces testable criteria, works through two examples, shows how to review AI-drafted criteria with the team, and then covers the Acceptify agent in AI Agents for Jira.

If your Jira site has Rovo, Atlassian’s AI, you can run the same kind of prompt from the description editor: Atlassian lists “Generate acceptance criteria from this work item description” among its suggestions. The format, the prompt and the review below apply either way.

Given/When/Then or a rule list

There are two common formats, and both work in Jira.

Given/When/Then comes from behavior-driven development (BDD). Each scenario names a starting point, an action and an outcome:

Given a shopper has $80.00 of items in the cart
When they apply SPRING20, a 20% discount code
Then the subtotal shows $64.00

A rule list is a numbered set of statements that must all be true:

1. The Export CSV button appears only for users with the Finance role.
2. Dates in the file use the format YYYY-MM-DD.
Given/When/Then Rule list
Best for Flows, sequences and changes of state Validations, formats, limits and permissions
Strength Maps straight to test cases and BDD automation Short and quick to scan
Weakness Wordy for simple rules Easy to lose the context a rule applies in

Mixing is fine: scenarios for the main flows, a short rule list for formats and limits. Pick per story, and tell the model which you want, or it will choose for you.

What makes acceptance criteria good

  • Testable. A tester can mark each one pass or fail without asking anyone.
  • Specific. Numbers, messages and roles, never “fast”, “easy” or “user-friendly”.
  • About outcomes. “The reset link stops working after 30 minutes”, not “store an expiry timestamp in the database”.
  • Unhappy paths included. Errors, limits and refusals, not only the success case.
  • Short. If a story needs more than about ten criteria, it’s probably two stories.

A prompt that produces good criteria

The most useful part of this prompt is the last section. Whatever the team has already decided goes there, so the model works from facts instead of inventing them.

Draft acceptance criteria for the Jira story below.

Format: [Given/When/Then scenarios | a numbered rule list].
Write between 5 and 10 criteria.

- Each criterion must be testable: a tester can mark it pass or
  fail without asking anyone.
- Describe outcomes a user or system can observe, not how to
  build them.
- Cover at least one failure or refusal for every rule.
- Use only the numbers, messages and roles given below. If one is
  needed but missing, write [TBD: what to decide] instead of
  inventing it.
- After the criteria, list what you assumed, what is out of scope,
  and your open questions.

Story:
[paste the summary and description]

What we know:
[rules, limits, roles and messages already decided]

Example 1: a password reset, as Given/When/Then

The input:

ACC-88 | Story | Reset a forgotten password
As a registered user who forgot my password, I want to reset it by
email, so that I can sign in again.

What we know:
- Reset links expire after 30 minutes and work once.
- At most 3 reset emails per account per hour.
- The page must not reveal whether an email address has an account.
- Passwords need at least 12 characters.

The draft, asking for Given/When/Then:

Scenario: Reset requested for a registered email
  Given a registered user on the Forgot password page
  When they submit their email address
  Then they see "If an account exists for this email, we've sent
  a reset link."
  And they receive an email with a reset link

Scenario: Reset requested for an unregistered email
  Given an email address with no account
  When it is submitted on the Forgot password page
  Then the same message is shown
  And no email is sent

Scenario: Link used within 30 minutes
  Given a reset link sent 10 minutes ago
  When the user opens it and sets a password of 12 or more characters
  Then the password is changed

Scenario: Password too short
  Given a valid reset link
  When the user sets a password of 11 characters
  Then the password is not changed
  And they see [TBD: password rule message]

Scenario: Expired link
  Given a reset link sent 31 minutes ago
  When the user opens it
  Then the password can't be changed
  And they see [TBD: expired link message] with a way to request
  a new link

Scenario: Link used twice
  Given a reset link that has already been used
  When the user opens it again
  Then the password can't be changed

Scenario: Too many requests
  Given 3 reset emails were sent for the account in the last hour
  When a fourth reset is requested
  Then no email is sent
  And the page shows [TBD: same message, or a rate limit message?]

Open questions: Are other signed-in sessions ended after a reset?
Can the new password match the old one?

This is a strong draft. It kept the privacy rule, so the second scenario shows the same message whether or not the account exists. It tested both limits at their edges, 31 minutes and the fourth request, and it wrote [TBD] instead of inventing three messages. It still slipped once: the confirmation message in the first scenario is its own wording. It may well be fine, but the team confirms it like any other invented fact. The rate limit question is a real product decision: a different message would reveal that the account exists.

Example 2: a CSV export, as a rule list

The input:

RPT-131 | Story | Export the Monthly Spend report to CSV
As a finance manager, I want to export the Monthly Spend report to
CSV, so that I can reconcile it in a spreadsheet.

What we know:
- Only users with the Finance role can export.
- The export uses the report's current filters.
- Columns: Date, Department, Vendor, Amount, Currency.

The draft, asking for a rule list:

1. The Export CSV button appears on the Monthly Spend report for
   users with the Finance role, and for no one else.
2. The file contains exactly the rows the report shows with its
   current filters.
3. The columns are Date, Department, Vendor, Amount and Currency,
   in that order, with a header row.
4. Amounts have two decimal places and no currency symbol.
5. Dates use [TBD: date format].
6. Text containing commas or quotes stays in one column when the
   file opens in a spreadsheet.
7. A user without the Finance role who opens the export link
   directly gets [TBD: error or redirect].
8. An export with no matching rows produces a file with only the
   header row. [Assumption]

Open questions: Is there a row limit? Which time zone do dates use?
What is the file name?

Look at rule 4. Nobody decided that amounts have two decimal places and no currency symbol, and the model didn’t mark it as an assumption. It may well be right, but it’s exactly the kind of invented fact a review has to catch.

Review AI-drafted criteria with the team

A draft saves the writing, not the conversation. A routine that works in refinement:

  1. The product owner reads first. Delete what’s out of scope, answer the [TBD] items you can, and keep the rest as questions.
  2. Read each criterion aloud. A developer asks “can we build this as written?” and a tester asks “can I test this as written?” Rewrite anything that fails either question.
  3. Trace every fact. Each number, message and role should come from the story or a team decision. Rule 4 above doesn’t, so the team confirms it or deletes it.
  4. Add the unhappy paths the draft missed. Ask what happens with no data, too much data, and the wrong person.
  5. Close the questions before the sprint. An open [TBD] in a story that’s in progress turns into a guess in the code.
  6. Agree on changes after the sprint starts. From then on, a changed criterion is a scope change, and the product owner decides it.

Mistakes to avoid

  • A summary as the only input. “Export to CSV” gets you criteria for any export in any product. The story and the decisions are the input.
  • Letting the model pick numbers. Limits, timeouts and formats are product decisions. Ask for [TBD], then decide.
  • Build steps dressed as criteria. “Add a column to the invoices table” tells a tester nothing they can check.
  • The same criteria on every story. Rules that apply everywhere, such as accessibility or browser support, belong in the definition of done, not in each story.
  • Skipping the review. Criteria nobody discussed get argued over at the sprint review instead.

Where to keep acceptance criteria in Jira

Most teams use one of three places:

  • The description, under an “Acceptance criteria” heading. Everything is in one place, and it’s where AI tools such as Acceptify write their drafts.
  • A paragraph field named Acceptance criteria. Criteria sit apart from the description, so they’re easy to find and don’t get lost in a long one.
  • A checklist app, if you want the story blocked from Done until every required criterion is ticked. That’s the usual answer in this Community question about acceptance criteria checklists.

Draft criteria with Acceptify in AI Agents for Jira

AI Agents for Jira includes Acceptify, an agent that drafts acceptance criteria from the story you’re in:

  • Add it to the space. A space admin adds Acceptify from the app’s Agent Library tab (the docs’ path is Project > AI Agents for Jira > Agents Library) and sets its defaults on the app’s Agents tab. You can also adjust them for a single run from inside the work item.
  • Give it your rules. Additional Guidelines takes instructions such as “Use Given/When/Then. Cover one failure for every rule. Write [TBD] for any missing number.” Most of the prompt rules above fit there. Leave out the count, which the setting below controls, and the request for assumptions and open questions: Acceptify returns a list of criteria and nothing else, so ask for [TBD] markers inside the criteria instead.
  • Set the size. Choose a detail level (Medium is the default) and an approximate number of criteria.
  • Check the prompt. Select Show under Prompt Preview to see the prompt before the criteria are generated.
  • Put the draft in the story. Add to description adds the criteria to the end of the description as a checklist of action items under an Acceptance Criteria heading, and Add to description as Expand Block puts the same checklist in a collapsible section titled Acceptance Criteria, ready for the team’s review.

Acceptify works from the story’s summary and description, plus your guidelines. When it runs, that text is sent to OpenAI to draft the criteria, through the app’s trial key or your organization’s own OpenAI API key. A Jira admin can turn on Redaction in the app’s settings to mask patterns such as email addresses and phone numbers first.

Questions

What’s the difference between acceptance criteria and the definition of done?

Acceptance criteria belong to one story and say what it must do to be accepted. The definition of done applies to every story, such as code reviewed, tested and documented.

Who should write acceptance criteria?

The product owner owns them, and they’re best finished with a developer and a tester in refinement. An AI draft is a starting point for that conversation, not a replacement for it.

How many acceptance criteria should a story have?

Enough to define done without describing how to build it. If a story needs more than about ten, it’s usually two stories.

Can Jira stop a story moving to Done until its criteria are met?

Teams that need a hard stop use a checklist app that can block the transition until every required item is checked. Criteria written as text in a description or a field are a reminder, not a check.

Try AI Agents for Jira

Transform ideas into actionable Jira tickets with AI-driven assistance.