Jonteohr.BugSharp 9.0.5

Prefix Reserved
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" />
                    
Directory.Packages.props
<PackageReference Include="Jonteohr.BugSharp" />
                    
Project file
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
                    
#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
                    
Install as a Cake Addin
#tool nuget:?package=Jonteohr.BugSharp&version=9.0.5
                    
Install as a Cake Tool

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 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.

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