bb-plane-fork/apps
Nikhil 0b15a32ec6
[WEB-5038] fix: cycle creation in external api endpoint (#7866)
* feat: set default owner for cycle creation if not provided

* Updated CycleListCreateAPIEndpoint to assign the current user as the owner when the 'owned_by' field is not included in the request data.
* Enhanced the CycleCreateSerializer initialization to ensure proper ownership assignment during cycle creation.

* feat: add comprehensive tests for Cycle API endpoints

* Introduced a new test suite for Cycle API endpoints, covering creation, retrieval, updating, and deletion of cycles.
* Implemented tests for various scenarios including successful operations, invalid data handling, and conflict resolution with external IDs.
* Enhanced test coverage for listing cycles with different view filters and verifying cycle metrics annotations.

* feat: enhance CycleCreateSerializer to include ownership assignment

* Added 'owned_by' field to CycleCreateSerializer to specify the user who owns the cycle.
* Updated CycleListCreateAPIEndpoint to remove redundant ownership assignment logic, relying on the serializer to handle default ownership.
* Ensured that if 'owned_by' is not provided, it defaults to the current user during cycle creation.

* fix: correct assertion syntax in CycleListCreateAPIEndpoint tests

* Updated the assertion in the test for successful cycle creation to use the correct syntax for checking the response status code.
* Ensured that the test accurately verifies the expected behavior of the API endpoint.
2025-10-07 18:50:09 +05:30
..
admin [MOB-1221] dev: updated god mode ui #7879 2025-10-07 00:24:09 +05:30
api [WEB-5038] fix: cycle creation in external api endpoint (#7866) 2025-10-07 18:50:09 +05:30
live [WEB-5048] chore: implements esm exports for all packages (#7816) 2025-10-06 21:01:32 +05:30
proxy [INFRA-219] fix: update Dockerfile and docker-compose for proxy service (#7523) 2025-07-31 13:27:34 +05:30
space Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#7864) 2025-10-07 17:42:49 +05:30
web [WEB-5086] fix: instance setup screen asset #7914 2025-10-07 18:47:36 +05:30