Use resource_parent instead of parent See merge request gitlab-org/gitlab!16315
Attach a file by drag & drop or click to upload