turbot/gitlab_insights

Query: open_issue_1_year_count

Usage

powerpipe query gitlab_insights.query.open_issue_1_year_count

SQL

select
'> 1 Year' as label,
count(i.*) as value
from
gitlab_my_project p
join gitlab_issue i on i.project_id = p.id
where
i.state = 'opened'
and i.created_at <= now() - '1 year' :: interval;

Dashboards

The query is used in the dashboards: