Migrating single selection to multiple selection

Infos:

  • Used Zammad version: 6.0.0-1687415087.1c970a7f.focal
  • Used Zammad installation type: package
  • Operating system: Ubuntu 20.04 LTS
  • Browser + version: Any

I would like to know how I could get the content of a single selection object and fill this content into a newly created multiple selection object via the rails console.
We basically need to change the whole input and preserve the current information after migrating from ZenDesk. Writing a script and having a full weekend of downtime is no issue at all. Thank you for any help regarding this :slight_smile:

It would also help to simply know how to access those objects in the rails console and how to update them, thus creating a script by myself.

Hi @SePro,

I guess the ObjectManager::Attribute class is your new friend then :slight_smile: but, for testing it, you should NOT use your production data. Make a copy of it and play around with it…

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.