Source: https://support.atomicwork.com/product/change-management/versioning-change-templates

# Versioning change templates

Edit a change template without disturbing the changes already in progress. Your edits save as a draft, and the changes your teams raise keep using the published version until you publish. Every publish gets a version name and a **What's New** note, so you can see what changed and restore an earlier version.

## Edit a template as a draft

Go to **Settings > Your workspaces > \[Workspace name] > Change management (Service management) > Change templates (Templates and forms)** and click the template.

Your edits save as a draft. The template list shows which templates have an unpublished draft.

## Publish a draft

Before you publish, make sure every stage has at least one action.

1. **Open the publish dialog**

   Click **Publish**.
2. **Add version details**

   In the **Version details** dialog, check the **Version name**, which is prefilled with the next version number, and review the **What's New** note, which Atom drafts for you. Both are required.
3. **Publish**

   Click **Publish** again.

When you publish, changes that are already open keep the stages and actions they started with. Attribute changes apply to existing changes as soon as you publish, so an attribute you add appears on open changes right away.

> [!WARNING]
>
> If you delete an attribute and publish, the attribute and its values disappear from existing changes. To get it back, [restore](#restore-an-earlier-version) a version that had it.

## Restore an earlier version

Use version history to check what changed or to go back to an earlier version.

1. **Open version history**

   Open the template, click **⋮**, and click **View version history**. The current draft, if there is one, appears under **Unpublished versions**.
2. **Preview a version**

   Click a version to preview it. Each version shows its name, its **What's New** note, and who published it and when.
3. **Restore the version**

   Click **Restore**, then click **Proceed** in the **Restore as draft** dialog.

The restored version opens as a draft with the next version number. The published version stays live until you publish the draft.

> [!WARNING]
>
> If the template already has a draft, the dialog warns you, and proceeding replaces that draft.

Restore is also how you recover a deleted attribute. Restore a version that had the attribute, then publish the draft. The attribute returns with its options, and existing changes show their earlier values again.

## Discard a draft or unpublish a template

Both are in the template's **⋮** menu.

- **Discard draft:** removes every unpublished change, including name, description, and employee access changes, and returns the template to its published version. It appears only when the template has a draft, and you can't undo it.
- **Unpublish:** stops agents from creating changes with the template until you publish it again. If the template has a draft, unpublishing discards it. Version history is kept, so you can publish again later.

## What's next

- [Customizing change templates](/product/change-management/customizing-change-templates): build a template with stages and actions.
- [Change attributes](/product/change-management/change-attributes): add attributes and control who can see or edit them.
