---
title: "Clear Field Value post function"
canonical: "https://support.appfire.com/space/JSU/12682442/Clear%20Field%20Value%20post%20function"
format: markdown
---
> Macro (aura-html)


> ℹ️ This is the JSU for Jira Data Center documentation. If you are using JSU for Jira Cloud, see our [JSU Cloud documentation](https://appfire.atlassian.net/wiki/spaces/JSUCLOUD/pages/12518384).

## Description

The Clear Field Value post function clears the value of a specified field on one or more issues after a transition is complete.

## Configuration

![Example configuration of the Clear Field Value post function.](media://299e302e-bc35-45d0-850e-75264ebd07c1)

###   
Precondition

If you are using preconditions with a JSU post function, you can use the following options to define how the precondition is evaluated:

- **Ignore precondition (default)**: Every precondition is ignored which means that the post function will always be performed
- **True**: Precondition must be true to execute a post function
- **False**: Precondition must be false to execute a post function

Learn more about JSU preconditions in [Workflow Preconditions](https://appfire.atlassian.net/wiki/spaces/JSU/pages/12682104).

### Issue relation

The field can be on the issue in transition(within the same issue) or a related issue, like a subtask, a linked issue, an issue within an Epic (during the transition on the Epic), or the result of a JQL query.

See [Related Issues](https://appfire.atlassian.net/wiki/spaces/JSU/pages/12682322) for more details on each option.

### Perform As User

> Macro (include)

### Field

You must specify the field to be cleared on the related issues, for example, *Fix Version*.

## Position of the post function

Jira transitions include essential post functions that are executed in a specific order. When adding JSU post functions to a transition it is important to position the post function with respect to the essential post functions. 

### The Create transition

The Create transition is an issue’s first transition and does not have a source status (only destination status - usually Open).  If you add the Clear Field Value post function to the Create transition, you should position it *before* Jira’s *Create the issue originally* post function *except* when clearing labels that need to be cleared after the issue has been created.

### Any other transition (not Create)

Position the Clear Field Value post function anywhere *before* the *Update change history for an issue and store the issue in the database *post function.

## Supported field types

> Macro (include)