From 50e29039cbf263426468af130feb1d36a999142f Mon Sep 17 00:00:00 2001 From: PaulBredl Date: Thu, 30 May 2024 13:04:00 +0200 Subject: [PATCH] adaptions in connector and issue type --- .../iste/meitrex/scrumgame/ims/ImsConnector.java | 5 ++--- src/main/resources/graphql/issue.graphqls | 5 +++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/de/unistuttgart/iste/meitrex/scrumgame/ims/ImsConnector.java b/src/main/java/de/unistuttgart/iste/meitrex/scrumgame/ims/ImsConnector.java index 9fbd00f..6932b67 100644 --- a/src/main/java/de/unistuttgart/iste/meitrex/scrumgame/ims/ImsConnector.java +++ b/src/main/java/de/unistuttgart/iste/meitrex/scrumgame/ims/ImsConnector.java @@ -98,7 +98,7 @@ public interface ImsConnector { * @param sprintNumber The new sprint number for the issue. * @return The updated Issue object. */ - Issue changeSprintOfIssue(String issueId, Integer sprintNumber); + Issue changeSprintOfIssue(String issueId, @Nullable Integer sprintNumber); /** * Changes the estimation of an issue. @@ -130,9 +130,8 @@ public interface ImsConnector { /** * Creates a new issue in the issue tracking system. * - * @param projectId The UUID of the Scrum game project. * @param createIssueInput The data for the new issue. * @return The created Issue object. */ - Issue createIssue(UUID projectId, CreateIssueInput createIssueInput); + Issue createIssue(CreateIssueInput createIssueInput); } \ No newline at end of file diff --git a/src/main/resources/graphql/issue.graphqls b/src/main/resources/graphql/issue.graphqls index 00f89a2..5ed5fdc 100644 --- a/src/main/resources/graphql/issue.graphqls +++ b/src/main/resources/graphql/issue.graphqls @@ -114,6 +114,11 @@ type IssueType { """ name: String! + """ + Identifier for the issue type in an issue management system. + """ + imsTypeId: ID! + """ Description of what the issue type entails. """