Skip to content

Commit

Permalink
add query for listing epics in quarter
Browse files Browse the repository at this point in the history
  • Loading branch information
juandspy committed Sep 28, 2023
1 parent c4ff5f8 commit 7d40021
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/examples/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,24 @@
FROM jira_issue
WHERE project_key = 'CCXDEV' AND creator_display_name = 'Juan Diaz Suarez'
LIMIT 10;
""",

"Epics in this quarter":
"""
SELECT
key,
summary
created,
EXTRACT(DAY FROM NOW() - created) as age,
assignee_display_name,
creator_display_name,
status,
resolution_date,
updated
FROM jira_issue
WHERE project_key = 'CCXDEV'
AND type = 'Epic'
AND fields['fixVersions'][0]->>'name' = '2023Q4'
LIMIT 10;
"""
}

0 comments on commit 7d40021

Please sign in to comment.