Improvements to insights:issues seeder rake task
What does this MR do and why?
General improvements to gitlab:seed:insights:issues
rake task,
used to generate data for group/project insights and issue analytics charts.
- Allow creating a new project with group using environment var
NEW_PROJECT
- Add milestone for created issues
- Add weight for new issues
- Allow multiple random assignees
- Assign due date for created issues
- Assign iteration for new issues
- Create team members
- Generate DORA metrics for project
related to #413266 (closed)
How to test locally
- Execute the rake task using an environment variable:
NEW_PROJECT=1 bin/rake gitlab:seed:insights:issues
- Check the charts at the following pages within analytics tab:
- Project insights
- Group insights
- Project issue analytics
- Group issue analytics
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Felipe Artur