Allow to see stages with WIP items in Cycle Analytics/ Productivity Analytics
Problem to solve
Currently, we only allow stages where the item has hit the end event (currently we define a stage by setting a start and end event). This means that users cannot use cycle analytics for the milestone they are currently in and monitor the velocity thereof.
EMs, Directors, PMs
Allow users to see WIP items for each stage. This means that even if the object (MR, issue) hasn't reached the end event defined in the stage definitions, the time since starting the event is counted. For example, if we only had one stage which was defined by MRs creation and closing, we should define the time spent in this stage by having (MR CREATED - (MR CLOSED OR CURRENT_TIME)).
Permissions and Security
Inline with the rest of the analytics pages now, this feature will be available for Premium users only.
Users should only see groups/projects/subgroups that they have a reporter access to and above.
For gitlab.com, we will only show the groups, projects, subgroups that fall under namespaces of silver (aka premium) and above.
What does success look like, and how can we measure that?
Users are able to see the median time of how much each stage is taking even for issues, MRs that are still not finished,