--- title: "Ensure-Milestone" ---
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.

Ensures a GitHub milestone exists with the specified properties.

Script usage:

GitHub::Ensure-Milestone(
	[From: <text>],
	[UserName: <text>],
	[Password: <text>],
	[Organization: <text>],
	[Repository: <text>],
	[ApiUrl: <text>],
	Title: <text>,
	[DueDate: <text>],
	[Description: <text>],
	[State: <text>]
);

Arguments:

NameFormatScript UsageUsage Notes
From GitHub resource
text
From
User name
text
UserName
Not specifying will "Use user name from GitHub resource's credentials".
Password
text
Password
Not specifying will "Use password from GitHub resource's credentials".
Organization name
text
Organization
Not specifying will "Use organization from Github resource".
Repository name
text
Repository
Not specifying will "Use repository from Github resource".
API URL
text
ApiUrl
Not specifying will "Use URL from Github resource.".
Title
text
Title
This argument is required.
Due date
text
DueDate
Description
text
Description
State
text
State