Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-72522

Importing a Trello board containing existing Jira users removes the users groups

    XMLWordPrintable

Details

    Description

      Issue Summary

      When using the External system import for Trello in Jira, if the Trello board contains users who already exist in Jira these users have their groups and product access removed.

      Environment

      Steps to Reproduce

      1. Add some users to a Jira cloud site.
      2. Give these users product access and even site-admin privileges.
      3. Create a Trello board.
      4. Invite the same Jira users to the Trello board.
      5. Use the external system import to import the Trello board to Jira.
      6. Map the Trello users to the same emails of the existing Jira users.

      Expected Results

      The board will import as expected, become a project and existing users will be added to said project as expected.

      Actual Results

      The project is created, however the users are not added and their product access is revoked and they are removed from some groups, this can include the site-admin group.

      The below exceptions are thrown in the detail log file:

      2019-07-18 09:53:02,790 INFO - Import started by admin using com.atlassian.jira.plugins.importer.trello.TrelloImporterDataBean
      2019-07-18 09:53:03,560 INFO - ------------------------------
      2019-07-18 09:53:03,561 INFO - Importing: Users
      2019-07-18 09:53:03,561 INFO - ------------------------------
      2019-07-18 09:53:03,561 INFO - Only new items will be imported
      2019-07-18 09:53:07,415 INFO - Imported user Claudiu Lionte (claudiulionte) as an inactive
      2019-07-18 09:53:10,545 ERROR - Cannot create user claudiulionte: User claudiulionte with status InactiveDueToLicenseRolesEnabled was not found after creating them.
      2019-07-18 09:53:12,830 INFO - Imported user Nero Wolfgang (nerowolfgang2) as an inactive
      2019-07-18 09:53:14,466 ERROR - Cannot remove 'USE' permissions for user admin (Nero Wolfgang)
      2019-07-18 09:53:14,479 ERROR - Cannot create user nerowolfgang2: User nerowolfgang2 with status InactiveDueToLicenseRolesEnabled was not found after creating them.
      2019-07-18 09:53:16,744 INFO - Imported user admin+atlassian_conflict (useratlassian_conflict) as an inactive
      2019-07-18 09:53:18,382 ERROR - Cannot create user useratlassian_conflict: User useratlassian_conflict with status InactiveDueToLicenseRolesEnabled was not found after creating them.
      2019-07-18 09:53:18,385 INFO - 4 users associated with import. All of them imported as inactive, this can be changed after import in User Access step.
      2019-07-18 09:53:18,385 INFO - ------------------------------
      2019-07-18 09:53:18,385 INFO - Finished Importing : Users
      2019-07-18 09:53:18,385 INFO - ------------------------------
      2019-07-18 09:53:18,385 INFO - 0 users successfully created.
      2019-07-18 09:53:18,388 INFO - Retrieving projects...
      2019-07-18 09:53:20,712 INFO - Created Project: ExternalProject{id='5d2f3f520735d46143991af0', key='IT', externalName='Import testing', name='Import testing', type='software', template='com.pyxis.greenhopper.jira:simplified-project-template'} successfully
      2019-07-18 09:53:20,716 INFO - ------------------------------
      2019-07-18 09:53:20,716 INFO - Importing: Versions
      2019-07-18 09:53:20,716 INFO - ------------------------------
      2019-07-18 09:53:20,716 INFO - Only new items will be imported
      2019-07-18 09:53:20,716 INFO - ------------------------------
      2019-07-18 09:53:20,716 INFO - Finished Importing : Versions
      2019-07-18 09:53:20,716 INFO - ------------------------------
      2019-07-18 09:53:20,716 INFO - ------------------------------
      2019-07-18 09:53:20,716 INFO - Importing: Components
      2019-07-18 09:53:20,716 INFO - ------------------------------
      2019-07-18 09:53:20,716 INFO - Only new items will be imported
      2019-07-18 09:53:20,716 INFO - ------------------------------
      2019-07-18 09:53:20,716 INFO - Finished Importing : Components
      2019-07-18 09:53:20,716 INFO - ------------------------------
      2019-07-18 09:53:20,721 INFO - Retrieving custom fields...
      2019-07-18 09:53:20,728 INFO - ------------------------------
      2019-07-18 09:53:20,728 INFO - Importing: Issues
      2019-07-18 09:53:20,728 INFO - ------------------------------
      2019-07-18 09:53:20,728 INFO - Only new items will be imported
      2019-07-18 09:53:22,351 INFO - Importing issue: [externalId='5d2f3f978ccd171f395bef6b', summary='Test']
      2019-07-18 09:53:22,356 WARN - Custom Field [ External issue ID ] was not found and cannot be created
      2019-07-18 09:53:22,716 INFO - Importing issue: [externalId='5d2f3f9d16601219f9b0b6d4', summary='Test 2']
      2019-07-18 09:53:22,716 WARN - Custom Field [ External issue ID ] was not found and cannot be created
      2019-07-18 09:53:22,936 INFO - Importing issue: [externalId='5d2f3fa1af34700bea914601', summary='Test 3']
      2019-07-18 09:53:22,936 WARN - Custom Field [ External issue ID ] was not found and cannot be created
      2019-07-18 09:53:23,026 INFO - 3 issues successfully created
      2019-07-18 09:53:23,030 INFO - ------------------------------
      2019-07-18 09:53:23,030 INFO - Finished Importing : Issues
      2019-07-18 09:53:23,030 INFO - ------------------------------
      2019-07-18 09:53:23,035 INFO - Rewriting old issue keys for 3 issues
      2019-07-18 09:53:23,041 INFO - ------------------------------
      2019-07-18 09:53:23,041 INFO - Importing: Issue Links & Subtasks
      2019-07-18 09:53:23,041 INFO - ------------------------------
      2019-07-18 09:53:23,041 INFO - Only new items will be imported
      2019-07-18 09:53:23,043 INFO - ------------------------------
      2019-07-18 09:53:23,043 INFO - Finished Importing : Issue Links & Subtasks
      2019-07-18 09:53:23,043 INFO - ------------------------------
      

      Notes

      This does not seem to impact users who only have basic access to Jira Software only.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nwolfgang Battlebeard (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: