shayki5 / azure-devops-create-pr-task

Azure Pipelines task to create PR in Azure DevOps or GitHub during a build or release pipeline
https://marketplace.visualstudio.com/items?itemName=ShaykiAbramczyk.CreatePullRequest
MIT License
58 stars 35 forks source link

Can't set Auto Complete to PR #179

Closed archimedecreativa closed 10 months ago

archimedecreativa commented 1 year ago

In Azure sometimes i revice the error "Can't set Auto Complete to PR" `##[warning]Can't set Auto Complete to PR 1263.

[warning]{"$id":"1","innerException":null,"message":"Invalid argument value.\r\nParameter name: The pull request to update was not valid.","typeName":"Microsoft.TeamFoundation.SourceControl.WebServer.InvalidArgumentValueException, Microsoft.TeamFoundation.SourceControl.WebServer","typeKey":"InvalidArgumentValueException","errorCode":0,"eventId":0}

[warning]The remote server returned an error: (400) Bad Request.

` and the uncompleted pull request block all new pull request, when i manually complete the pull request, when the script run next time, the pull request complets

Damiano

shayki5 commented 1 year ago

Hi, can you run it with diagnostic logs and share here the logs?

shayki5 commented 1 year ago

@archimedecreativa ping :)