Jezda.Common.Integrations.Jira
1.0.37
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Jezda.Common.Integrations.Jira --version 1.0.37
NuGet\Install-Package Jezda.Common.Integrations.Jira -Version 1.0.37
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="Jezda.Common.Integrations.Jira" Version="1.0.37" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jezda.Common.Integrations.Jira" Version="1.0.37" />
<PackageReference Include="Jezda.Common.Integrations.Jira" />
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 Jezda.Common.Integrations.Jira --version 1.0.37
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Jezda.Common.Integrations.Jira, 1.0.37"
#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 Jezda.Common.Integrations.Jira@1.0.37
#: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=Jezda.Common.Integrations.Jira&version=1.0.37
#tool nuget:?package=Jezda.Common.Integrations.Jira&version=1.0.37
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Jezda.Common.Integrations.Jira
A strongly-typed .NET client for Jira Cloud REST API (v3), built on top of Jezda.Common.Integrations.
✨ Features
- Projects: List all visible projects.
- Search: Search issues using JQL (Jira Query Language).
- Authentication: Supports Basic Auth (Email + API Token) for Jira Cloud.
- Dependency Injection: Ready-to-use
IServiceCollectionextension.
📦 Installation
Add the project reference or NuGet package:
dotnet add package Jezda.Common.Integrations.Jira
⚙️ Configuration
Add the following section to your appsettings.json:
{
"Integrations": {
"Jira": {
"BaseUrl": "https://your-domain.atlassian.net/",
"Email": "your-email@example.com",
"ApiToken": "your-atlassian-api-token"
}
}
}
Note: For Jira Cloud, you must use an API Token, not your password. Generate one at id.atlassian.com.
🚀 Usage
1. Register Services
In your Program.cs:
using Jezda.Common.Integrations.Jira.Extensions;
builder.Services.AddJiraIntegration(builder.Configuration);
2. Inject and Use
Inject IJiraClient into your service:
public class JiraService
{
private readonly IJiraClient _jiraClient;
public JiraService(IJiraClient jiraClient)
{
_jiraClient = jiraClient;
}
public async Task PrintHighPriorityBugsAsync()
{
// Search using JQL
var jql = "project = 'MYPROJ' AND issuetype = Bug AND priority = High";
var result = await _jiraClient.SearchIssuesAsync(jql);
if (result != null)
{
foreach(var issue in result.Issues)
{
Console.WriteLine($"[{issue.Key}] {issue.Fields?.Summary} - {issue.Fields?.Status?.Name}");
}
}
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Jezda.Common.Integrations (>= 1.0.37)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.