aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-05-25 21:02:25 +0200
committerGitHub <noreply@github.com>2021-05-25 21:02:25 +0200
commitbfad28d7feb3009de624c59edcfe670aa3832841 (patch)
tree9127b3ebd9ad37f5d38368e30e8e1fdb75d3c393 /webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql
parent24a78c86f494b0d148d888747fc661da927b8c59 (diff)
parent970c1cf1ab55df3d894c1c0a2bc9654b6f2b5c43 (diff)
downloadgit-bug-bfad28d7feb3009de624c59edcfe670aa3832841.tar.gz
Merge pull request #680 from GlancingMind/webui-comment-and-close-bug
WebUI: Support comment-and-close of a bug in one step
Diffstat (limited to 'webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql')
-rw-r--r--webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql11
1 files changed, 11 insertions, 0 deletions
diff --git a/webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql b/webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql
new file mode 100644
index 00000000..eb736f53
--- /dev/null
+++ b/webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql
@@ -0,0 +1,11 @@
+mutation AddCommentAndCloseBug($input: AddCommentAndCloseBugInput!) {
+ addCommentAndClose(input: $input) {
+ statusOperation {
+ status
+ }
+ commentOperation {
+ message
+ }
+ }
+}
+