feat: portfolio of all my projects
/cartera (and GraphQL portfolio, REST /api/me/portfolio, MCP get_portfolio) shows every active project I belong to (not archived, not as a guest) at a glance: open, overdue, blocked and stuck tickets, the sprint under way and whether it gets there, planned releases with their forecast, and the open epics with their progress. It reuses the dashboard's computations. A release with no tickets now reads «Sin tickets» instead of «Todo hecho», here and on the dashboard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1082,6 +1082,27 @@ type OptionCount {
|
||||
value: String!
|
||||
}
|
||||
|
||||
"""
|
||||
One of my active projects at a glance: open work, risks, sprint, releases and epics
|
||||
"""
|
||||
type PortfolioProject {
|
||||
blocked: Int!
|
||||
|
||||
"""Open epics, nearest due date first (six at most)"""
|
||||
epics: [Epic!]!
|
||||
isPublic: Boolean!
|
||||
key: String!
|
||||
name: String!
|
||||
open: Int!
|
||||
overdue: Int!
|
||||
projectId: ID!
|
||||
releases: [ReleaseForecast!]!
|
||||
sprint: SprintPulse
|
||||
stuck: Int!
|
||||
total: Int!
|
||||
updatedAt: String!
|
||||
}
|
||||
|
||||
"""Someone on a ticket right now (heartbeat in the last 30 s)"""
|
||||
type Presence {
|
||||
"""Last heartbeat"""
|
||||
@@ -1364,6 +1385,11 @@ type Query {
|
||||
myViews: [MyView!]!
|
||||
notificationSettings: NotificationSettings!
|
||||
|
||||
"""
|
||||
My active projects (not archived, not as a guest) at a glance: open work, risks, sprint, release forecasts and epics
|
||||
"""
|
||||
portfolio: [PortfolioProject!]!
|
||||
|
||||
"""A project of mine, or any public one (no sign-in needed)"""
|
||||
project(
|
||||
"""Project id or key (e.g. "TS")"""
|
||||
|
||||
Reference in New Issue
Block a user