fix stuff and add editIssue mutation.

This commit is contained in:
2020-10-05 18:16:43 +02:00
parent 685fa9550f
commit d0ffe1677e
8 changed files with 82 additions and 5 deletions
+16
View File
@@ -64,4 +64,20 @@ input IssueCreateInput {
dueTime: Time
"Optional title to use instead of the name when not in a list."
title: String
}
input IssueEditInput {
"The issue to edit."
issueId: String!
"Set the user this issue is assigned to."
setAssignee: String
"Set the status name for the issue."
setStatusName: String
"Rename the issue."
setName: String
"Set the issue title."
setTitle: String
"Change the due time."
setDueTime: Time
}
+2
View File
@@ -18,6 +18,8 @@ type Mutation {
# ISSUE
"Create a new issue."
createIssue(input: IssueCreateInput!): Issue!
"Edit an issue."
editIssue(input: IssueEditInput!): Issue!
# ISSUE TASK
"Create a new issue task."
createIssueTask(input: IssueTaskCreateInput!): IssueTask!