Azure / azure-devops-cli-extension

Azure DevOps Extension for Azure CLI
https://docs.microsoft.com/en-us/cli/azure/ext/azure-devops/?view=azure-cli-latest
MIT License
628 stars 241 forks source link

Add support for configuring a PR's autoCompleteIgnoreConfigIds #1252

Open EvanCahill opened 2 years ago

EvanCahill commented 2 years ago

Is your feature request related to a problem? Please describe. There is currently no way to configure a PR's completionOptions.autoCompleteIgnoreConfigIds at creation or afterwards. This causes issues when creating an auto completing PR against a branch with the linked work item policy configured as optional, since the policy defaults to blocking the autocomplete.

Describe the solution you'd like Please add a new parameter, --auto-complete-ignore-ids, to both az repos pr create and az repos pr update. This seems to be the existing pattern as all the other GitPullRequestCompletionOptions, with the exception of mergeStrategy, are included at the top level.

Additional context See also this request to add the mergeStrategy completion option: Azure/azure-cli-extensions#1721