diff --git a/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugService.java b/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugService.java index 304e23173a..6e5e84847b 100644 --- a/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugService.java +++ b/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugService.java @@ -2137,8 +2137,8 @@ public class BugService { if (StringUtils.equals(platformName, BugPlatform.LOCAL.getName())) { return todoParam; } + todoParam.setCurrentPlatform(platformName); if (request.getUnresolved()) { - todoParam.setCurrentPlatform(platformName); todoParam.setPlatformLastStatus(bugCommonService.getPlatformLastStepStatus(request.getProjectId())); } if (request.getAssignedToMe()) {