Skip to content
Snippets Groups Projects

Draft: POC: work items at group level

Closed Alexandru Croitor requested to merge poc_issues_to_group into master
1 unresolved thread
Compare and
91 files
+ 2924
706
Compare changes
  • Side-by-side
  • Inline
Files
91
@@ -2,25 +2,50 @@
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"
query projectUsersSearch($search: String!, $fullPath: ID!, $after: String, $first: Int) {
workspace: project(fullPath: $fullPath) {
id
users: projectMembers(
search: $search
relations: [DIRECT, INHERITED, INVITED_GROUPS]
first: $first
after: $after
sort: USER_FULL_NAME_ASC
) {
pageInfo {
hasNextPage
endCursor
startCursor
workspace: namespace(fullPath: $fullPath) {
... on ProjectNamespace {
id
users: projectMembers(
search: $search
relations: [DIRECT, INHERITED, INVITED_GROUPS]
first: $first
after: $after
sort: USER_FULL_NAME_ASC
) {
pageInfo {
hasNextPage
endCursor
startCursor
}
nodes {
id
user {
...User
...UserAvailability
}
}
}
nodes {
id
user {
...User
...UserAvailability
}
... on Group {
id
users: groupMembers(
search: $search
relations: [DIRECT, DESCENDANTS, INHERITED]
first: $first
after: $after
sort: USER_FULL_NAME_ASC
) {
pageInfo {
hasNextPage
endCursor
startCursor
}
nodes {
id
user {
...User
...UserAvailability
}
}
}
}
Loading