SureDraft Get it on Atlassian MarketplaceStart free

AnswersConfluence

How do I make a field required in a Confluence template?

The short answer

You can't.

Confluence publishes a page whether its template variables were filled in or not, and Atlassian's request for a "mandatory" option has been open since 2021. SureDraft, an app for Confluence, makes sure a required answer left blank can't slip through: the blank is marked in the copy, and the approver has to confirm before approving.

What Confluence does on its own

A template variable is a convenience. When someone creates a page, Confluence asks for the values, and the person can skip any of them.

"Users can publish the pages without filling all variables."

Atlassian's own ticket, CONFCLOUD-72975, describes the gap in that one line. It was opened in October 2021 and is still gathering interest.

How SureDraft does it

  1. In SureDraft you mark the words that change in an approved page and write a question for each.
  2. Each question has a setting for whether an answer is required.
Writing a question for a marked spot in a policy

People answer, and Confluence makes a copy of the page with their answers in place, which SureDraft calls a draft.

  • While answering, the person is told how many required answers are still blank and that each will be marked red in the document.
A person answering the survey, with the document filling in beside it

In the draft, a required answer left empty appears in red with the question's name, for example [MISSING: START_DATE], exactly where the answer belongs. The bar at the top counts them.

At approval, the approver has to confirm before approving a draft that still has blanks.

A draft ready for review with its answers highlighted and an Approve button

What it doesn't do

  • SureDraft does not stop someone from sending in a draft with a blank. People often don't have every answer yet, and a form that refuses to continue teaches them to type "TBD".
  • A question that isn't marked required can be left empty without a mark.

The blank travels with the draft, marked, to the person who decides.