--- title: "Create Pull Request" ---
This is generated from the built in components of BuildMaster 2024.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Operations within your BuildMaster instance to see exactly what operations are available.

Creates a pull/merge request in a git repository.

Script usage:

Git::Create-PullRequest(
	Title: <text>,
	[Source: <text>],
	Target: <text>,
	[Description: <text>],
	[Id: <text>],
	[From: <text>],
	[UserName: <text>],
	[Password: <text>],
	[Namespace: <text>],
	[Repository: <text>]
);

Arguments:

NameFormatScript UsageUsage Notes
Title
text
Title
This argument is required.
Source branch
text
Source
Default value is "$Branch".
Target branch
text
Target
This argument is required.
Description
text
Description
Value note: "optional".
Request Id
text
Id
The id of the created pull request will be stored in this runtime variable.
Repository connection
text
From
Default value is "$Repository".
User name
text
UserName
Not specifying will "Use Username from repository connection".
Password
text
Password
Not specifying will "Use Password from repository connection".
Namespace name
text
Namespace
Not specifying will "Use namespace from repository connection".
Repository name
text
Repository
Not specifying will "Use repository from repository connection".