---
title: "Parent issue status scripted field"
canonical: "https://support.appfire.com/space/PSJC/854327366/Parent%20issue%20status%20scripted%20field"
format: markdown
---
> Macro (aura-html)


## Problem

You would like to display the status of the issues parent in a custom field.

### Display comment text only

```
if(isNotNull(parent)) {
    return parent.status;
}
```


> ⚠️ Make sure that the “Child update” trigger is enabled in the [scripted field configuration](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/856361791) to ensure that the scripted field on the child gets updated when the parent issue is updated.

> ⚠️ Also, make sure that the issue type of the parent issue is added to the configuration so that scripted fields will be triggered when the parent is updated.