# Bug JIM-170 - Custom fields of type list and hierarchy are duplicated by Jira Migrator

Project: Stream Jira to OpenProject data Migrator
Status: closed
URL: https://community.openproject.org/work_packages/JIM-170

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Immediate |
| Module | Integrations / Jira |
| Target versions | 17.8.0 |
| Observed in versions | 17.7.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.7.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Andrej Sandorf |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

On Jira:

1.  Create a custom field of type list or hierarchy
    
2.  Use it in a project &quot;Project X&quot;
    
3.  Use it in a project &quot;Project Y&quot;
    

On OpenProject:

1.  Plan a new &quot;Import run&quot;, select and migrate &quot;Project X&quot; (review mode or approve)
    
2.  Plan a new &quot;Import run&quot;, select and migrate &quot;Project Y&quot; (review mode or approve)
    

### What is the buggy behavior?

*   Custom field is duplicate in OpenProject instance
    

### What is the expected behavior?

*   Reusing the existing Custom field creating before with the same name and type
    

### Screenshots and other files

<img class="image_resized op-uc-image op-uc-image_inline" style="width:1538px;" src="/api/v3/attachments/923685/content">

### Environment information

**OpenProject installation type**

*   Docker-compose installation
    

Jira Dat-Center on premise version

v10.3.20

**OpenProject version**

_17.6.0_

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [x] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

_Browser : French &nbsp;  OP and Jira: English_
