Open getSurreal opened 2 years ago
I also tried to DisableAutoComplete after manually setting the auto complete. It also did nothing after returning like it did something.
Do the other options work? Is it only this flag which is not working?
Setting to Draft and back to Active worked
Checking it today.
Thanks. I checked it and it turns out this one is not implemented at all.
When updating the PR with an auto merge option the following object (with possible options in the values) is usually PATCHed:
{
"completionOptions": {
"autoCompleteIgnoreConfigIds": [],
"bypassPolicy": false | true,
"deleteSourceBranch": false | true,
"mergeCommitMessage": "Commit Message",
"mergeStrategy": 1 | 2 | 3 | 4,
"transitionWorkItems": false | true
},
"autoCompleteSetBy": {
"id": "user id"
}
}
But the cmdlet is only pushing the ´autoCompleteSetBy´ property and not the rest. But the commit Message and Merge strategy objects are a minimum that need to be added. So I will implement this later.
Thanks for the update. Looking forward to the fix!
Steps to reproduce
Expected behavior
PR gets updated
Actual behavior
No error, but PR is not updated
Environment data
OS
Server