Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Done
-
prod/bigpicture/jiraserver/2020/10/07/8.0.3
-
None
-
Agile
-
BigPicture
-
JIRA server, JIRA cloud
-
10
-
9
-
-
Sprint 2020/22, Sprint 2020/23
-
PI2020/5
-
3 hours, 28 minutes, 11 seconds -
2 days, 4 hours, 29 minutes, 50 seconds -
1 day, 15 hours, 41 minutes, 20 seconds -
1 day, 1 hour, 49 minutes, 8 seconds -
1 minute, 11 seconds -
8 seconds -
1 day, 23 minutes, 24 seconds -
Description
Two scenarios:
Scenario 1 - Team deletion
- Create a Box with sub scope and 3 teams (team A, team B, team C)
- Configure team A with sprint 1
- Configure team B with sprint 2
- Remove sprint 1 from Jira
- Remove team B from program
- Save
Expected result: we should validate only changed values
Actual result: There are exceptions in logs because we are unable to validate configuration with the value that does not exist.
Scenario 2 - Team creation
- Create a Box with sub scope and 2 teams (team A, team B)
- Set sprint 1 for both team A and team B
- Remove sprint 1 from Jira
- Add a new team (team C)
- Set sprint 1 for team C
- Save
Expected result: we should ignore that autoconfiguration if subscope is corrupted
Actual result: There are exceptions in logs cause we are trying to set sprint 1 (which does not exist) to newly created team C.
Stack trace example:
com.softwareplant.util.concurrent.job.JobExecutionException: jobDescription: Async event handling: BoxTeamsAllocationChangedEvent com.softwareplant.util.validation.ValidationException: Sprint with id: 187 does not exist at com.softwareplant.system.tenant.core.concurrent.job.TenantSystemEndPointJobContext.call(TenantSystemEndPointJobContext.java:72) at com.softwareplant.system.core.concurrent.job.TransactionContextJobContextProxyFactory.lambda$createProxy$5df0134e$1(TransactionContextJobContextProxyFactory.java:18) at com.softwareplant.system.manager.jiraserver.environment.JiraJobContextProxyFactory.lambda$createProxy$fe459f1a$1(JiraJobContextProxyFactory.java:30) at com.softwareplant.util.concurrent.job.SingleJobExecutorImpl.lambda$execute$0(SingleJobExecutorImpl.java:32) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:652) at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:649) at java.security.AccessController.doPrivileged(Native Method) at java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:649) at java.lang.Thread.run(Thread.java:748) Caused by: com.softwareplant.util.validation.ValidationException: Sprint with id: 187 does not exist at com.softwareplant.ppm.wbs.core.domain.SubWbsAdministrationImpl.validateExistingSubWbsConfiguration(SubWbsAdministrationImpl.java:204) at com.softwareplant.ppm.wbs.core.domain.SubWbsAdministrationImpl.setSubWbsFieldConfiguration(SubWbsAdministrationImpl.java:158) at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxConfigurableSubWbs.update(BoxConfigurableSubWbs.java:62) at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxConfigurableSubWbs.lambda$setValueForTeamId$10(BoxConfigurableSubWbs.java:175) at java.util.Optional.ifPresent(Optional.java:159) at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxConfigurableSubWbs.lambda$teamAdded$8(BoxConfigurableSubWbs.java:141) at java.util.Optional.ifPresent(Optional.java:159) at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxConfigurableSubWbs.teamAdded(BoxConfigurableSubWbs.java:141) at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.auto.BoxAutoConfigurationService.lambda$autoConfigureTeam$3(BoxAutoConfigurationService.java:67) at java.util.Optional.ifPresent(Optional.java:159) at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.auto.BoxAutoConfigurationService.autoConfigureTeam(BoxAutoConfigurationService.java:67) at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.auto.BoxAutoConfigurationService.lambda$autoConfigureTeam$2(BoxAutoConfigurationService.java:62) at java.lang.Iterable.forEach(Iterable.java:75) at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.auto.BoxAutoConfigurationService.autoConfigureTeam(BoxAutoConfigurationService.java:62) at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.auto.BoxAutoConfigurationEventSubscriber.onBoxAllocated(BoxAutoConfigurationEventSubscriber.java:54) at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.auto.BoxAutoConfigurationEventSubscriber.lambda$onBoxAllocated$0(BoxAutoConfigurationEventSubscriber.java:40)
Attachments
Issue Links
- mentioned in
-
Page Loading...