stable

Clone or download

Read-only

No updatable art_link field => no [Add a test] button

A dedicated REST route is created that returns only the information needed by testplan. The retrieval of milestone content has been extracted to not repeat ourselves. Part of story #14888: Create a new test with artifact view Change-Id: I55b82a8c445a4969829097c0bcd9847156922d40

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/BacklogItemPresenter.class.php +12 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/BacklogItem.class.php +3 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/IBacklogItem.class.php +6 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemRepresentation.php +1 −1 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/ContentForMiletoneProvider.php +114 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +13 −12 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v2/BacklogItemRepresentation.php +1 −1 Go to diff View file
M plugins/testplan/include/REST/ResourcesInjector.php +3 −0 Go to diff View file
A plugins/testplan/include/REST/v1/BacklogItemRepresentation.php +70 −0 Go to diff View file
A plugins/testplan/include/REST/v1/MilestoneResource.php +172 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/AddTestButton.test.ts +15 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/AddTestButton.vue +1 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/backlog-item/backlog-item-actions.test.ts +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/backlog-item/backlog-item-actions.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/type.ts +1 −0 Go to diff View file
A plugins/testplan/tests/unit/REST/v1/BacklogItemRepresentationTest.php +107 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkUpdater.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.class.php +1 −1 Go to diff View file