You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.
Hello.
I want to create a PR with autocomplete and I sent the following request:
GitPullRequest parameters = new GitPullRequest()
{
SourceRefName = "branchsource",
TargetRefName = "branchtarget",
Title = "titulo pr",
Description = "desc pr",
AutoCompleteSetBy = new IdentityRef
{
Id = identity.Id.ToString()
},
CompletionOptions = new GitPullRequestCompletionOptions
{
MergeCommitMessage = "Merge: desc pr",
DeleteSourceBranch = true,
MergeStrategy = GitPullRequestMergeStrategy.Squash,
SquashMerge = true
}
};
_gitClient.CreatePullRequestAsync(parameters, repo.Id).Result;
The PR was created without the autocomplete feature.
How can I fix my code?
Thank you.
The text was updated successfully, but these errors were encountered: