9 lines
460 B
GraphQL
9 lines
460 B
GraphQL
query Summary {root {_qx {relations {tasks {
|
|||
|
|
aggregate {count sum {estimatedHours}}
|
||
|
|
groups(by: {status: true}, first: 10) {entries {group {status} aggregate {count sum {estimatedHours}}}}
|
||
|
|
filter(where: {status: {eq: "OPEN"}}) {expand {tags {
|
||
|
|
groups(by: {target: {_qx: {ref: true}, name: true, color: true}}, first: 100,
|
||
|
|
orderBy: [{count: DESC}]) {entries {group {target {_qx {ref} name color}} aggregate {count sum {source {estimatedHours}}}}}
|
||
|
|
}}}
|
||
|
|
}}}}}
|