Migrating Bitwarden Organizations with mrc-converter-suite, collections as tags? [Solved]
I'm trying working on migrating a Bitwarden Organization to a vault in 1password. I immediately stumbled upon mrc-converter-suite and thought to myself "I love people like MrC!".
I took a look at the code, and its beyond my skill to try and do anything with this.
@MrC, Would it be possible to modify the bitwarden converter to also handle organization exports, and to use the collectionIds array as tags in place of or with folderId?
Below is a scrubbed and sanitized version of an organization export in .json format.
{ "encrypted": false, "collections": [ { "id": "5eb63cc1-8dba-4cb1-8376-ac350659d232", "organizationId": "d04585d5-78ad-403b-9234-ac3500587b2f", "name": "Clothing", "externalId": null }, { "id": "fa2bd688-af96-472c-ad23-ac358059dabc", "organizationId": "d04585d5-78ad-403b-9234-ac3500587b2f", "name": "Shoes", "externalId": null } ], "items": [ { "id": "2b9a419b-3afc-4dc8-ae3d-ae3800531126", "organizationId": "d04585d5-78ad-403b-9234-ac3500587b2f", "folderId": null, "type": 1, "reprompt": 0, "name": "Vans", "notes": null, "favorite": false, "login": { "uris": [ { "match": null, "uri": "https://www.vans.com/" } ], "username": "justanotheruser-at-adomain.com", "password": "supersecret", "totp": null }, "collectionIds": [ "5eb63cc1-8dba-4cb1-8376-ac350659d232", "fa2bd688-af96-472c-ad23-ac358059dabc" ] } ] }
1Password Version: 8.10.23
Extension Version: Not Provided
OS Version: Windows 11
Browser: Vivaldi
Comments
-
Flattery along with the morning's cup of coffee is a nice pairing.
Sure, I'll be happy to add this.
Am I to assume that for me to create my own data that includes these collections, I'd need a "Bitwarden Organization" account? I can use your dummy data with my own JSON export, but would like to have the ability to create my own test files.
0 -
That is accurate. I've asked my company if I can create a new Organization to add you to that you can use for testing. But, I probably won't hear back from them until Monday. We could always start a free enterprise trial.
0 -
At the converter suite home, under the Custom folder, I've posted an updated Bitwarden.pm module. Download and replace your current Converters\Bitwarden.pm module within the suite.
I notice the collections have an organizationId value. These are being ignored, since I don't have any linkages for the UUID values.
0 -
I can confirm that it is working flawlessly with my data. All collections are being added in as tags perfectly.
That is correct. There are no linkages for the organizationId in the exports.
Is there any way for me to buy you a cup of coffee my friend?
0 -
Great, thanks for the confirmations. The change will be in the next update.
When I get a chance, I'll try the trial version to see if there anything else I've overlooked.
Your offer is appreciated, but really, its not necessary.
Instead, enjoy 1Password!
0 -
Thank you MrC. 🙂
-Dave
0