Skip to content

Fix: Work Item Tracking Process Group Controls management (#1496) - #1529

Open
dennismdejong wants to merge 7 commits into
microsoft:mainfrom
dennismdejong:issue_1496
Open

Fix: Work Item Tracking Process Group Controls management (#1496)#1529
dennismdejong wants to merge 7 commits into
microsoft:mainfrom
dennismdejong:issue_1496

Conversation

@dennismdejong

Copy link
Copy Markdown
Contributor

Summary

This PR fixes issue #1496 where azuredevops_workitemtrackingprocess_group was not correctly managing and updating its control blocks.

Changes

  • Refactored resource_group.go to support updating control blocks within a group.
  • Implemented expandControls helper to reduce code duplication between Create and Update.
  • Added a consistency check with retry.StateChangeConf to wait for the expected number of controls to appear in the API during Update, addressing eventual consistency issues in the Azure DevOps API.
  • Added unit tests for the updated logic.
  • Added an acceptance test to verify the fix in a real environment.

Fixes #1496

…controls during update

- Added support for managing 'control' blocks in azuredevops_workitemtrackingprocess_group
- Refactored update logic to handle addition/removal of controls
- Added consistency check with retry when updating controls
- Updated unit and acceptance tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

azuredevops_workitemtrackingprocess_group doesn't update controls

1 participant