• Bob Van Landuyt's avatar
    Import multiple issue assignees from GitLab export · ca8f1ed9
    Bob Van Landuyt authored
    When importing from a GitLab archive, an admin can carry over the
    assignations. Other users can not.
    
    When a regular user is importing an issue with multiple assignees, the
    assignee is replaced with the current user, meaning we would try to
    insert current user as an assignee multiple times.
    
    By filtering the array before storing it, the import becomes more
    robust.
    ca8f1ed9
relation_factory.rb 10.4 KB