summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/issues
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-10 21:10:32 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-10 21:10:32 +0000
commitc57962295c5f577de7f738ef710da33cb76354b4 (patch)
tree76683f8689eee58394dbb394af66163eae90036f /app/graphql/mutations/issues
parent7f04cb580bc7895145fc1df51907582f80adbbca (diff)
downloadgitlab-ce-c57962295c5f577de7f738ef710da33cb76354b4.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/mutations/issues')
-rw-r--r--app/graphql/mutations/issues/common_mutation_arguments.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/graphql/mutations/issues/common_mutation_arguments.rb b/app/graphql/mutations/issues/common_mutation_arguments.rb
index 4b5b246281f..65768b85d14 100644
--- a/app/graphql/mutations/issues/common_mutation_arguments.rb
+++ b/app/graphql/mutations/issues/common_mutation_arguments.rb
@@ -22,6 +22,11 @@ module Mutations
as: :discussion_locked,
required: false,
description: copy_field_description(Types::IssueType, :discussion_locked)
+
+ argument :type, Types::IssueTypeEnum,
+ as: :issue_type,
+ required: false,
+ description: copy_field_description(Types::IssueType, :type)
end
end
end