---
title: "Set entity property value"
canonical: "https://support.appfire.com/space/JMWEC/466225840/Set%20entity%20property%20value"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt)
> 
> A workflow post-function that sets the value of an entity property of the current issue, current issue's project or current user. The value can be provided either as text (with optional Nunjucks annotations) or as a JSON value.

When you add this post-function to a transition and trigger the transition, the add-on sets the specified entity property of the selected target (either the current issue, the current issue's project, or the current user) to the specified value. The value can be provided either as text (with optional [Nunjucks](http://mozilla.github.io/nunjucks/templating.html)**[ ](http://mozilla.github.io/nunjucks/templating.html)**annotations) or as a JSON value.

- In the case of text, the value can be a simple string (for text typed fields), the string representation of a number, date or boolean value, or the string representation of a complex value, such as a Version name, a username, a Project key, etc. You can also use [Nunjucks](http://mozilla.github.io/nunjucks/templating.html)**[ ](http://mozilla.github.io/nunjucks/templating.html)**to insert dynamic values (issue, transition, or current user information).
- In the case of a JSON value, which requires the option `Treat value as JSON` (explained below), it can be a String, a Number, a Boolean or an Object. It can also be an array of such values.

To find out more about the type of value expected by this post-function for different field types, see [Expected value for each field type](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466256753).

![Set Entity Property Value post function configuration screen](media://db7ff712-49a4-4b2a-a524-9854bb6a79d1)

**To add 'Set entity property value' post-function to a transition : **

1. Click **Edit** for the workflow that has the transition to which you wish to add the post function.
2. In the Workflow Designer, select the transition.
3. Click **Post Functions** in the properties panel.
4. Click **Add post function**.
5. Select **Set Entity Property value** from the list of post function.
6. Click **Add** to navigate to the *Set Entity Property value post-function *screen where you can add configuration details. See below for more information.
7. Click on **Add** to add the post function to the transition.