Support arithmetic in Insights for groups

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

The GitLab Ultimate feature Insights for groups only supports simple issuable_state: values like closed, merged and all. See our insights/default.yml examples.

However, a more relevant metric than the resulting raw numbers would be the backlog of items, for example calculated by opened - closed, etc. Similarly, VSA also "calculates the duration", from the raw timestamps.

Proposal

Implement a method to get the difference between two of the existing issuable_state: values.

Intended users

Feature Usage Metrics

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖