Logic updation for associating project with build_need
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
We want to remove the temporary method introduced in MR !163429 (merged) as part of #488163
As part of !163429 (merged), we created a callback method to add project_id to build_need record, the current logic does not have a way to associate project id directly, so we want to add project_id
in the needs_attributes
before creating the build_need record.
But while doing so, we realised that we need to update the logic to create build need records for associating project.
This issue is to track the work for the above. Along with logic updation, we would need to fix and add some specs.
Edited by 🤖 GitLab Bot 🤖