# Bug JIM-157 - Retrying a stopped import creates duplicate OpenProject users

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Integrations / Jira |
| Target versions | 17.7.1 |
| Observed in versions | 17.6.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.6.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

1.  Start an import
    
2.  Have an unrelated import error (???)
    
3.  Press retry
    

### What is the buggy behavior?

*   For each retry attempts a new user is created  
    &nbsp;after attempt 1:  alice                                                                
     after attempt 2:  alice, alice+JIRAUSER10001  
     after attempt 3:  alice, alice+JIRAUSER10001, alice+JIRAUSER10001+1  
     refs for jira\_user 18: \[\[&quot;48&quot;,false\], \[&quot;49&quot;,false\], \[&quot;50&quot;,false\]\]  
    

### What is the expected behavior?

1.  User should not be duplicated
    

### Environment information

**OpenProject installation type**

*   All
    

**OpenProject version**

v17.6

**Browser**

*   All
    

**Operating System**

*   All
    

**Language**

*   All
