Skip to content

Fogbugz: Add importing: true to imported events and remove transaction

What does this MR do and why?

  1. Add missing spec for importing events from FogBugz
  2. Set created_at and updated_at for events on create to avoid extra writes to the DB.
  3. Add importing: true to events created by FogBugz import

Adding importing: true to skip validations and callbacks that are not needed when importing.

Related:

  1. Remove transaction that could remain open for an extended period if there were numerous notes to import.

Related: #441114 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Ivane Gkomarteli

Merge request reports