diff options
Diffstat (limited to 'app/assets/javascripts/work_items/graphql/group_work_item_by_iid.query.graphql')
-rw-r--r-- | app/assets/javascripts/work_items/graphql/group_work_item_by_iid.query.graphql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/assets/javascripts/work_items/graphql/group_work_item_by_iid.query.graphql b/app/assets/javascripts/work_items/graphql/group_work_item_by_iid.query.graphql new file mode 100644 index 00000000000..f23bafa20c3 --- /dev/null +++ b/app/assets/javascripts/work_items/graphql/group_work_item_by_iid.query.graphql @@ -0,0 +1,12 @@ +#import "./work_item.fragment.graphql" + +query groupWorkItemByIid($fullPath: ID!, $iid: String) { + workspace: group(fullPath: $fullPath) @persist { + id + workItems(iid: $iid) { + nodes { + ...WorkItem + } + } + } +} |