summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/jira_connect/branches/graphql/mutations/create_branch.mutation.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/jira_connect/branches/graphql/mutations/create_branch.mutation.graphql')
-rw-r--r--app/assets/javascripts/jira_connect/branches/graphql/mutations/create_branch.mutation.graphql6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/jira_connect/branches/graphql/mutations/create_branch.mutation.graphql b/app/assets/javascripts/jira_connect/branches/graphql/mutations/create_branch.mutation.graphql
new file mode 100644
index 00000000000..7e9cbda8317
--- /dev/null
+++ b/app/assets/javascripts/jira_connect/branches/graphql/mutations/create_branch.mutation.graphql
@@ -0,0 +1,6 @@
+mutation createBranch($name: String!, $projectPath: ID!, $ref: String!) {
+ createBranch(input: { name: $name, projectPath: $projectPath, ref: $ref }) {
+ clientMutationId
+ errors
+ }
+}