Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 (WorkItemCloneCommand.cs): fix field access to use dictionary indexing
♻️ (WorkItemCloneCommand.cs): rename variables for clarity and consistency The changes fix the way fields are accessed in the `projectItem` object by using dictionary indexing (e.g., `projectItem.fields["System.Title"]`) instead of direct property access. This ensures compatibility with the data structure. Additionally, variable names are updated for better clarity and consistency, such as renaming `item` to `controlItem` in the `generateWorkItemsToBuildList` method. This improves code readability and maintainability. 📝 (Resources): add tst_jsonj_export_v20.json to Resources Introduce a new JSON file, `tst_jsonj_export_v20.json`, to the Resources directory. This file contains a list of work items with various fields such as `System.AreaPath`, `System.Tags`, `System.Title`, `Custom.Product`, `Microsoft.VSTS.Scheduling.Effort`, and `Custom.TRA_Milestone`. The addition of this file is intended to provide a sample dataset for testing and development purposes, ensuring that the application can handle and process work item data correctly. ✨ (data.json): add new tasks and milestones for engineering group New tasks and milestones are added to the data.json file to reflect the latest project requirements and scheduling efforts. This update ensures that all relevant tasks are tracked and managed effectively, improving project oversight and resource allocation. ♻️ (WorkItem.cs): change fields property type to Dictionary<string, object> for flexibility The fields property is changed from a custom Fields type to a Dictionary<string, object>. This change allows for more flexibility in handling various field types and structures that may be encountered in different work items.
- Loading branch information