---
title: "Unselect an option in a multi-select field using JMWE post-function"
canonical: "https://support.appfire.com/space/JMWEC/466289856/Unselect%20an%20option%20in%20a%20multi-select%20field%20using%20JMWE%20post-function"
format: markdown
---
> Macro (aura-html)

This article provides the code snippet to unselect an option in a multi-select field using [https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/465504849](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/465504849) post-function.

## \uD83D\uDCD8 Instructions

1. Navigate to the intended workflow to make the necessary changes in the edit mode.
2. Select the required transition.
3. Select the *Post functions *tab and click `Add post function`.
4. Add the [https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/465504849](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/465504849) post-function.
5. Select the issues, for which the field should be set, under “Target Issue(s)”.
6. Select the desired field and add the below Nunjucks template:

Replace `10067` with the id of the desired field and `Item 3` with the option to be removed.

With this, the option “Item 3” will be removed from the selected options (if it exists).

![JMWE for Jira Cloud multiselect field configuration for option deselection](media://cf232a94-8ee1-4fd3-b213-a8225336dd69)

> ℹ️ If this post-function is added on the create transition, select the checkbox *“Delay the execution of this post-function”* under *“Delayed execution” *and select a delay of 3 seconds.

### References

- [filter](/wiki/spaces/JMWEC/pages/78482118)
- [join filter](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/465373240/Nunjucks+Filters#join)