---
title: "Clear fields of linked issues (Deprecated)"
canonical: "https://support.appfire.com/space/JMWEC/466289629/Clear%20fields%20of%20linked%20issues%20(Deprecated)"
format: markdown
---
> Macro (aura-html)

> Macro (include)

## Replacing this post function

This post function has been replaced with the [Clear fields](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466226128) post function. Use the table below to migrate your configuration; settings should be migrated to the new post function exactly as they exist in the obsolete one, except where noted.

| **Configuration option** | **Migrate to** | **Notes** |
| --- | --- | --- |
| Issue Link Type | Target issues | If the obsolete post function is set to **Any**, use **Issues linked to the current issue through any link type**.<br>If the obsolete post function is set to a specific link type, select **Issues linked to the current issue through the following link type**, and set the **Issue link** field to the appropriate link type. |
| Field(s) | Fields |  |
| Advanced options → Settings → Run as | Advanced options → Settings → Run as |  |
| Advanced options → Settings → Run this post-function only if a condition is verified | Advanced options → Settings → Run this post-function only if a condition is verified |  |
| Advanced options → Settings → Delay the execution of this post-function | Advanced options → Settings → Delay the execution of this post-function |  |

> Macro (excerpt)
> 
> A workflow post-function that clears the value of the selected field(s) of the issues linked to the current issue through a specific link type.

**To add the 'Clear field value of linked issues' post-function to a transition:**

1. Click **Edit** for the workflow that has the transition you wish to configure the post-function on.
2. In the Workflow Designer, select the transition.
3. Click on `Post Functions `in the properties panel.
4. Click othe n `Add post function`.
5. Selecthe t `Clear field value of linked issues` from the list of post-functions.
6. Click on `Add` to add the post-function on the transition.
7. Select the issue link from the `Issue Link` field.
8. Choose the field(s) that should be cleared from `Fields.`
9. Click on `Add` to add the post-function to the transition.

Here are a few [https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466225276](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466225276)  for this post-function

When you add this post-function to a transition and trigger it, the add-on clears the selected field(s) of the issues linked to the current issue through the specified link type.

### **Run As**

- **Run as current user: **The current user will be the author of the change.

- **Run as add-on user: **The add-on user will be the author of the change.

- **Run as this user: **Any user selected in this field will be the author of the change.

> ⚠️ If you select any option other than "Run as add-on user", so that the assignment appears to be done by the current user or a specific user, the selected user will need to have the **Edit Issues** permission.

### **Conditional execution**

To execute this post-function based on the result of a Nunjucks template see [Conditional execution](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466256678).

### **Delayed execution**

> Macro (include)

> 📝 Note that you can use this function to clear the fields of the:
> 📝 
> 📝 - parent issue of a sub-task by using the `is Subtask of `link type and vice versa using the `is Parent of` link type
> 📝 - Epic of an issue by using the `belongs to Epic` link type and vice-versa using the `is Epic of` link type
> 📝 - Parent of the portfolio hierarchy by using the `belongs to Initiative` link type and vice-versa using the `is Initiative of` link type

---

A workflow post-function that clears the value of the selected field(s) of the issues linked to the current issue through a specific link type.

#### :light_bulb_on: Clear a set of fields on all the linked issues of the current issue when an Abort is triggered on the current issue

<details>
<summary>Steps</summary>

- Add the *Clear field value of linked issues *post-function to the **Abort **transition of the workflow.
- Select all the fields to be emptied from `Field`
</details>