---
title: "[Xporter Server] JavaScript is not being Rendered in the Template"
canonical: "https://docs.getxray.app/space/ProductKB/46268727/%5BXporter+Server%5D+JavaScript+is+not+being+Rendered+in+the+Template"
format: markdown
---
# Possible Cause

<span style="color: #172b4d">You are using Xporter on a Docker Image that does not have some necessary dependencies, such as the Nashorn dependency (which represents the Javascript Engine), and it </span><span style="color: #172b4d">is a library that Xporter uses to resolve Javascript expressions. Without it, Xporter can't process "if" conditions and the majority of Mappings that are included in your documents.</span>

## Solution

The recommended approach is to use an official image that includes jjs or Nashorn. When changing your Docker image, please follow the instructions of the Advanced Configuration section at this [Atlassian Docker](https://hub.docker.com/r/atlassian/jira-software) page.

To confirm this, you can look for the <span style="color: #172b4d">Nashorn.jar file that should be located at </span>**Java_Home>jre>lib.**

## Related articles

[Atlassian Docker](https://hub.docker.com/r/atlassian/jira-software)