--- title: "Close-Issue" ---
This is generated from the built in components of BuildMaster 2023.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.

Closes an issue on GitHub.

Script usage:

GitHub::Close-Issue(
	Number: <integer>,
	[From: <text>],
	[UserName: <text>],
	[Password: <text>],
	[Organization: <text>],
	[Repository: <text>],
	[ApiUrl: <text>]
);

Arguments:

NameFormatScript UsageUsage Notes
Issue number
integer
Number
This argument is required.
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
Use URL from Github resource. Value note: "https://api.github.com".