rt-assets-import-csv(1)

πŸ“¦ version 2.3, in ubuntu noble

πŸ’– rt-assets-import-csv β€” the Request Tracker Reference girlies know πŸ’–

okay so bestie, this is rt-assets-import-csv(1), and she is literally the moment. she's from the Request Tracker Reference family and she is here to get your assets into rt with zero drama. πŸ¦‹


✨ NAME ✨

rt-assets-import β€” import assets to rt πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

rt-assets-import /path/to/assets.csv
rt-assets-import --update /path/to/assets.csv

🌸 DESCRIPTION 🌸

This script will import/update assets from a CSV into rt. no cap. 🫢

See RT::Extension::Assets::Import::CSV for configuration, because that's where all the setup lore lives, iykyk.


πŸ‘‘ OPTIONS πŸ‘‘

  • --config file, -c file β€” gives you an explicit extra configuration file, and it gets loaded before any other configuration files. highkey useful when you wanna provide per-import AssetsImportUniqueCF and AssetsImportFieldMapping settings, like when you're importing from multiple sources that have differing columns. ⚠️ but listen: if you use this option, RT_SiteConfig.pm should not contain a setting for AssetsImportFieldMapping β€” otherwise the two hashes will be merged, which will produce unexpected behavior. and we do not want unexpected behavior, bestie. πŸ’€
  • --update β€” without this option, existing assets (as determined by matching AssetsImportUniqueCF values) are left untouched, like, hands off. with this option provided, records will be updated based on their values in the CSV. glow-up mode. ✨
  • --insert β€” by default, assets without a AssetsImportUniqueCF value will produce a warning. with this flag, they will be inserted (generating their own id as needed) after all other operations. so patient of them tbh. πŸ™ˆ
  • --mdy, --dmy β€” force RT to parse dates as mm/dd/yy or dd/mm/yy, respectively. in the absence of this option, RT will default to the DateDayBeforeMonth setting, which defaults to dd/mm/yy. slay, dates are handled. 🌈
  • --debug β€” provide verbose output to STDERR during the import. perfect for when you're nosy (affectionate) and need to see everything happening. πŸ”₯

fr fr, read the --config warning twice. merged hashes are giving chaos and we are not about that life. 😭

okay that's the whole page, bestie, you ate it. πŸ’– this gorgeous little manual comes to you courtesy of the Request Tracker Reference, version perl v5.36.0, dated 2023-08-27. periodt. πŸ‘‘β­

πŸ“¦ where this page comes from