Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/sidebar/queries/get_issue_participants.query.graphql')
-rw-r--r--app/assets/javascripts/sidebar/queries/get_issue_participants.query.graphql17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/assets/javascripts/sidebar/queries/get_issue_participants.query.graphql b/app/assets/javascripts/sidebar/queries/get_issue_participants.query.graphql
new file mode 100644
index 00000000000..eae5e96ac46
--- /dev/null
+++ b/app/assets/javascripts/sidebar/queries/get_issue_participants.query.graphql
@@ -0,0 +1,17 @@
+#import "~/graphql_shared/fragments/user.fragment.graphql"
+#import "~/graphql_shared/fragments/user_availability.fragment.graphql"
+
+query issueParticipants($fullPath: ID!, $iid: String!, $getStatus: Boolean = false) {
+ workspace: project(fullPath: $fullPath) {
+ id
+ issuable: issue(iid: $iid) {
+ id
+ participants {
+ nodes {
+ ...User
+ ...UserAvailability @include(if: $getStatus)
+ }
+ }
+ }
+ }
+}