---
title: "[Xporter] How to use AffectedVersions or FixVersions in Javascript or other operations"
canonical: "https://docs.getxray.app/space/ProductKB/46268533/%5BXporter%5D%20How%20to%20use%20AffectedVersions%20or%20FixVersions%20in%20Javascript%20or%20other%20operations"
format: markdown
---
## Problem

The custom fields AffectedVersions, FixVersions, and FixVersionsReleaseDate don't seem to work in Javascript, JQL or other operations.

## Cause

This happens because these custom fields return the actual values including format characters and this breaks the execution of the operations.

## Solution

Use the following fields mappings respectively AffectedVersionsList, FixVersionsList or FixVersionsReleaseDateList

## Related articles



> Macro (contentbylabel)

> Macro (details)
> 
> | **Related issues** | > Macro (jira) |
> | --- | --- |