Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AzureDevOpsProject: AzureDevOps identifiying a project has been renamed when it hasn't been #23

Open
SphenicPaul opened this issue Jan 26, 2021 · 0 comments
Labels
Backlog - Mid Term Backlog - Mid Term

Comments

@SphenicPaul
Copy link
Contributor

Details of the scenario you tried and the problem that is occurring

As part of the AzDevOpsProject resource, integration tests, AzureDevOps is triggering emails stating...

The team project TestProjectName has been renamed to TestProjectName in the organization

... when the name has, infact, not been updated/amended.

Suspecting it's triggered by the AzDevOpsProject_EnsureProjectUpdated_Config, integration test/config (see links below).

Suggested solution to the issue

I suspect AzureDevOps is registering the update to the Project resource via the API as a change (even though the name has not changed) so it might be worth investigating if this email (and related false-positive, change to ProjectName) can be avoided by ommitting the ProjectName from the update/PUT/PATCH request.

The DSC configuration that is used to reproduce the issue (as detailed as possible)

The specific intergration test, configurations are:

  • AzDevOpsProject_EnsureProjectPresent_Config (which creates the "TestProjectName" project)
  • AzDevOpsProject_EnsureProjectIdentical_Config (which ensures the "TestProjectName" project is left the same as it was created when reapplied - Note: Would expect DSC not to process a change in this scenario).
  • AzDevOpsProject_EnsureProjectUpdated_Config (which updates the project resource as a result of other property changes (ProjectDescription) athough the project name has not changed).

Suspecting the change is triggered by the AzDevOpsProject_EnsureProjectUpdated_Config, integration test - This would be triggering a call to the AzureDevOps API to make a change to an existing project.

All of the integration test configurations are located here and the respective, integration tests are here

@kilasuit kilasuit added the Backlog - Mid Term Backlog - Mid Term label Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog - Mid Term Backlog - Mid Term
Projects
None yet
Development

No branches or pull requests

2 participants