diff options
Diffstat (limited to 'app/assets/javascripts/work_items/graphql/work_item.fragment.graphql')
-rw-r--r-- | app/assets/javascripts/work_items/graphql/work_item.fragment.graphql | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/assets/javascripts/work_items/graphql/work_item.fragment.graphql b/app/assets/javascripts/work_items/graphql/work_item.fragment.graphql index 04701f6899e..5f64eda96aa 100644 --- a/app/assets/javascripts/work_items/graphql/work_item.fragment.graphql +++ b/app/assets/javascripts/work_items/graphql/work_item.fragment.graphql @@ -1,3 +1,5 @@ +#import "~/graphql_shared/fragments/user.fragment.graphql" + fragment WorkItem on WorkItem { id title @@ -17,5 +19,29 @@ fragment WorkItem on WorkItem { description descriptionHtml } + ... on WorkItemWidgetAssignees { + type + allowsMultipleAssignees + assignees { + nodes { + ...User + } + } + } + ... on WorkItemWidgetHierarchy { + type + parent { + id + iid + title + } + children { + edges { + node { + id + } + } + } + } } } |