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

Atlantis fails to validate Azure DevOps branch policy "Check for linked work items" #5039

Open
apoguy opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working provider/azuredevops

Comments

@apoguy
Copy link

apoguy commented Oct 24, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Overview of the Issue

In Azure DevOps, when using the "Check for linked work items" policy and "mergeable" as an apply requirement, Atlantis will fail saying that PR must be mergeable, regardless if there is a work item attached to the PR.

Reproduction Steps

  1. In atlantis: use "apply_requirements": [ "mergeable" ]
  2. In Azure DevOps turn on branch policy "Check for linked work items" on the target branch.
  3. Create a PR and link a Work Item.
  4. Comment "atlantis apply"

Environment details

  • Atlantis version: Container version 0.28.3
  • Deployment method: ecs
@apoguy apoguy added the bug Something isn't working label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working provider/azuredevops
Projects
None yet
Development

No branches or pull requests

1 participant