Docs drift: keeping Confluence runbooks and specs in step with Jira

Updated 2 December 2026 ยท 8 min read

Short answer: Docs drift is the gap that opens when the work tracked in Jira changes and the Confluence pages that describe it do not. Prevent it by citing the Jira key on every runbook and spec, marking each page with status and owner labels, and running a short weekly check that compares recently finished Jira work with pages that still say draft. Neither product alerts you when a page has fallen behind its tickets, so that comparison is a manual query, an automation prompt or an app.

What is docs drift?

Docs drift is a mismatch between a Confluence page and the Jira work it depends on. The page was accurate when it was written, then the ticket moved and nobody went back. Four patterns account for most cases:

  • Shipped but still draft. The ticket is Done, and the runbook still carries a draft label or an unfinished checklist.
  • Changed after the page. A ticket cited by a spec was updated weeks after the spec was last edited, so the spec may describe the old behavior.
  • In flight. A page documents work that is still in progress and will need an update when it ships.
  • Orphaned reference. The page cites a ticket that was moved, deleted or restricted, so readers cannot verify the claim.

Drift matters more once AI tools read your docs. Rovo and AI coding agents answer from the page text and cannot see that the ticket moved on.

How do you tie a Confluence page to its Jira tickets?

Use a link that people can click and a key that tools can read. As of December 2026, Atlassian's documentation describes these routes:

MethodHowWhat you get
Pasted Jira linkPaste the work item URL into the page. Confluence converts it to the Jira work items macro.The key and Jira's own data on the page, not text someone typed.
Jira work items macro with JQLEmbed a table, a single work item or a count from a JQL query.A list built from Jira's own fields, such as status and assignee.
Link from the Jira sideOn a parent-level work item in a company-managed space, select +, then Page, then Link page.Navigation from the ticket to the doc. A work item can hold up to 2,000 links.
Plain-text keyType OPS-412 in a "Related work" line near the top.Searchable text that any checker can read.

Atlassian's Jira and Confluence article says that mentioning a work item on a page with the macro makes Jira create a link back to the page. The steps for the Jira side are in Link a Confluence page to a parent-level work item. The site must have Jira linked to Confluence.

Do both: a macro or link for navigation, and the key typed as plain text in a "Related work" line. Confluence does not index link URLs, so a key that exists only inside a link target cannot be found by text search.

One naming note: Jira Cloud's documentation now says work item where it used to say issue. The key format and JQL are unchanged, and this guide uses ticket and work item for the same thing.

How should you label pages so drift is visible?

A status label turns "is this page current?" into a query. Four labels cover most engineering docs:

LabelMeaningMoves when
status-draftDescribes work that has not shipped.The cited ticket is Done: change it to active.
status-activeMatches shipped behavior.A later ticket changes the behavior: update the page, then keep it active.
status-deprecatedReplaced or retired. Kept for history.It is archived.
owner-platformThe team that keeps the page right.Ownership moves.

Every draft page should cite the ticket that will ship it, so the status has a trigger. The full scheme is in a labeling scheme for engineering docs.

How do you find drifted docs by hand?

A weekly check of about fifteen minutes catches most drift:

  1. List recently finished work in Jira. Run this JQL for your project (an example, replace the project key):
    project = OPS AND statusCategory = Done AND resolved >= -14d ORDER BY resolved DESC
  2. List pages still marked draft. Run this CQL in the REST search API or a scheduled rule:
    type = page and label = "status-draft"
  3. Match them. For each finished key, search for pages that cite it. An exact phrase search avoids partial matches on the number (an example, replace the key):
    type = page and text ~ "\"OPS-412\""
  4. Compare dates. If the page's last modified date is older than the ticket's resolved date, open the page and check it against the ticket.
  5. Act. Update the page, move the label from draft to active, or write "no doc change" in a ticket comment so the decision is on record.

CQL text search matches visible text, so it finds keys typed in the body but not keys that exist only inside a macro or a link address. That is the reason for the plain-text key. Atlassian documents the syntax in its CQL text search reference.

To make this visible to the whole team, build a "Docs drift" page with two native macros. Use the Jira work items macro with the JQL above, and the filter by label macro set to status-draft, sorted by modified date. The two lists sit side by side, and the page updates itself.

How do you automate drift reminders?

Jira automation cannot compare a ticket with a page, but it can ask the question at the right moment. A useful rule has three parts:

  1. Trigger: Work item transitioned, to your Done status.
  2. Action: Comment on work item, with text such as "Docs: link the page you updated, or write no doc change." Add Send customized email if the doc owner is not watching the ticket.
  3. Definition of Done: add the same line to the team's checklist so it is part of finishing, not an afterthought.

Atlassian's Jira automation actions include Create Confluence page, which creates a page without content and needs a Jira to Confluence connection. Linking an existing page from a rule has no built-in action. Atlassian's knowledge base describes using Send web request against the Jira REST API for that.

How does Folio check for Jira drift?

Folio for Confluence automates the comparison. Open Space apps, then Folio for Confluence, choose the Audit & fix tab and pick a section. If the optional Jira connection is on, Folio reads the Jira keys cited in each page and checks them against live status and update times. It reads PROJ-123 keys in page text and /browse/ links, and it skips look-alikes such as UTF-8, SHA-256 and SEV-1 and anything inside code blocks.

It then reports four kinds of finding:

  • Done ticket, stale doc. The ticket is Done and the page still has a draft or work-in-progress label or open checklist items.
  • Ticket newer than doc. The ticket was updated at least 7 days after the page was last edited (7 days is the default lag).
  • In flight. The ticket is in progress, so plan a doc update when it ships.
  • Missing ticket. The key cannot be found or you cannot see it.

The one automatic fix is changing status-draft to status-active when the cited ticket is Done. Ticking open checklist items is offered separately and is off by default, because only a person knows whether the work is finished. You review and apply every fix, each is made as you and saved in page history, and Folio never changes pages in the background. The same check is available as the read-only check-jira-drift action for the Folio Docs Auditor Rovo agent. See the Folio documentation.

Folio flags candidates. It does not read a ticket and decide that a page is wrong, and it does not write the update for you. A person still has to open the page.

What is a lightweight process that keeps docs in step?

  1. Cite. Every runbook and spec has a "Related work" line with its Jira keys as plain text, plus a link or macro.
  2. Label. Every page has one status- label and one owner- label.
  3. Prompt. Moving a ticket to Done triggers a comment asking for the docs link.
  4. Review weekly. One person runs the JQL and CQL pair or the Folio drift check and clears the list.
  5. Score monthly. Track the section with the documentation health checklist so drift shows up as a trend.

FAQ

Should the Jira ticket or the Confluence page be the source of truth?

Use both for different jobs. The ticket is the record of what changed and when, and the page is the current description of how the system works. Do not copy acceptance criteria into both places. Keep the detail in one, link to it from the other, and let the page describe the state after the ticket ships.

Does Jira show which Confluence pages mention a work item?

Partly. Atlassian says that when you mention a work item on a Confluence page with the Jira macro, Jira creates a link to that page. You can also link a page from the work item itself. A key typed as plain text creates no link, which is why a text search or a drift check is still needed.

Did Jira stop calling them issues?

Jira Cloud documentation now says work item where it used to say issue. The key format, such as OPS-412, is unchanged, and JQL still works the same way. This guide uses ticket and work item for the same thing.

How often should we run a drift review?

Weekly for teams that ship weekly, and after every release for teams that ship less often. The review takes minutes when the list of recently finished work is short, and it grows painful when it is left for a quarter.

Do I need Jira to check Confluence docs for drift?

You need the ticket data to compare against. Folio's Jira drift check needs the optional Jira Cloud connection on the same site. Without it, import, export and the health score still work, but drift findings are unavailable.