Jonteohr.BugSharp
9.0.5
Prefix Reserved
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Framework 4.7.2
This package targets .NET Framework 4.7.2. The package is compatible with this framework or higher.
dotnet add package Jonteohr.BugSharp --version 9.0.5
NuGet\Install-Package Jonteohr.BugSharp -Version 9.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Jonteohr.BugSharp" Version="9.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jonteohr.BugSharp" Version="9.0.5" />
<PackageReference Include="Jonteohr.BugSharp" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Jonteohr.BugSharp --version 9.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Jonteohr.BugSharp, 9.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Jonteohr.BugSharp@9.0.5
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Jonteohr.BugSharp&version=9.0.5
#tool nuget:?package=Jonteohr.BugSharp&version=9.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Jonteohr.BugSharp
Basic C# wrapper for the BugZilla Rest API
Setup
Add the api to your project from nuget
Dotnet CLI
dotnet add package jonteohr.bugsharp
PackagerManager
NuGet\Install-Package jonteohr.bugsharp
Usage
You can find the example project here.
Create the BugZilla
client that you need to query data:
var client = BugZilla.Create("URL_TO_BUGZILLA", "OPTIONAL_API_KEY");
Fetch a bug:
var bug = await client.Bugs.GetBugAsync(123); // 123 being a single bug ID
Console.WriteLine($"Bug summary: {bug.Summary}");
// Make a modification to the bug
bug.Summary = "A new summary, because you're worth it.";
// Save it to the server
var newBug = await bug.SaveChangesAsync();
Get several bugs:
var bugs = await _client.Bugs.GetBugsAsync([123, 321, 546]); // An array of bug IDs
bugs.ForEach(b => Console.WriteLine($"Bug #{b.Id}: {b.Summary}"));
Search for bugs:
// Create the BugZilla search object
var search = _client.CreateSearch();
// Fill it with data
search.Product = "MyProduct";
search.QuickSearch = "status:unco";
// Store the results of the search
var results = await search.SearchBugsAsync();
Console.WriteLine($"Found {results.Count} bugs matching the search criteria!");
Get server information
var version = await client.Information.GetVersion();
Console.WriteLine(version);
Supports
List of implemented API calls from Bugzilla Rest API
- ✅ Attachments
- ✅ Bugs
- ✅ Bug Search
- ✅ Bugzilla Information
- ❌ Classifications
- ✅ Comments
- ✅ Components
- ✅ Bug Fields
- ❌ Flag Types
- ❌ Groups
- ❌ Products
- ❌ Users
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Framework | net472 is compatible. net48 is compatible. net481 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- Newtonsoft.Json (>= 13.0.3)
- RestSharp (>= 112.1.0)
-
.NETFramework 4.8
- Newtonsoft.Json (>= 13.0.3)
- RestSharp (>= 112.1.0)
-
.NETFramework 4.8.1
- Newtonsoft.Json (>= 13.0.3)
- RestSharp (>= 112.1.0)
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
- RestSharp (>= 112.1.0)
-
net9.0
- Newtonsoft.Json (>= 13.0.3)
- RestSharp (>= 112.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
9.0.5 | 0 | 9/16/2025 |
9.0.5-alpha.0.2 | 152 | 4/24/2025 |
9.0.5-alpha.0.1 | 169 | 4/16/2025 |
9.0.4 | 207 | 4/15/2025 |
9.0.4-alpha1 | 136 | 4/11/2025 |
9.0.3 | 134 | 4/11/2025 |
9.0.2 | 169 | 4/10/2025 |
9.0.1 | 182 | 4/10/2025 |
9.0.0 | 175 | 4/10/2025 |