Kubis1982.Atlassian.RestClient
1.0.0
dotnet add package Kubis1982.Atlassian.RestClient --version 1.0.0
NuGet\Install-Package Kubis1982.Atlassian.RestClient -Version 1.0.0
<PackageReference Include="Kubis1982.Atlassian.RestClient" Version="1.0.0" />
<PackageVersion Include="Kubis1982.Atlassian.RestClient" Version="1.0.0" />
<PackageReference Include="Kubis1982.Atlassian.RestClient" />
paket add Kubis1982.Atlassian.RestClient --version 1.0.0
#r "nuget: Kubis1982.Atlassian.RestClient, 1.0.0"
#:package Kubis1982.Atlassian.RestClient@1.0.0
#addin nuget:?package=Kubis1982.Atlassian.RestClient&version=1.0.0
#tool nuget:?package=Kubis1982.Atlassian.RestClient&version=1.0.0
Atlassian REST Client - Core Library
Core shared components for Atlassian REST API Clients, providing common authentication, serialization, and HTTP client configuration utilities for Jira, Confluence, and Bitbucket API clients.
Package Information
Features
- ✅ BasicAuthProvider - Simple Basic Authentication implementation for Atlassian Cloud APIs
- ✅ HttpClientRequestAdapterFactory - Factory for creating pre-configured HTTP adapters
- ✅ DateTimeOffsetConverter - Custom JSON converter for Atlassian-specific date-time formats
- ✅ Built on Microsoft Kiota
- ✅ Support for .NET 10.0+
Installation
Via NuGet Package Manager
dotnet add package Kubis1982.Atlassian.RestClient
Via Package Manager Console
Install-Package Kubis1982.Atlassian.RestClient
Via .csproj
<ItemGroup>
<PackageReference Include="Kubis1982.Atlassian.RestClient" Version="1.0.0" />
</ItemGroup>
Components
BasicAuthProvider
Implements IAuthenticationProvider for Basic Authentication using username/email and password/API token.
Usage:
using Kubis1982.Atlassian.RestClient;
// Create with email and API token (recommended for Atlassian Cloud)
var authProvider = new BasicAuthProvider("your-email@company.com", "your-api-token");
// Or with username and app password (Bitbucket)
var authProvider = new BasicAuthProvider("username", "app-password");
Parameters:
username- Email address (for Jira/Confluence) or username (for Bitbucket)password- API token or app password
HttpClientRequestAdapterFactory
Factory for creating HttpClientRequestAdapter instances with pre-configured JSON serialization that handles Atlassian's specific date-time formats.
Usage:
using Kubis1982.Atlassian.RestClient;
using Microsoft.Kiota.Abstractions.Authentication;
var authProvider = new BasicAuthProvider("email@company.com", "api-token");
var baseUrl = "https://your-domain.atlassian.net";
// Create adapter with default HttpClient
var adapter = HttpClientRequestAdapterFactory.Create(baseUrl, authProvider);
// Or with custom HttpClient
var httpClient = new HttpClient { Timeout = TimeSpan.FromSeconds(60) };
var adapter = HttpClientRequestAdapterFactory.Create(baseUrl, authProvider, httpClient);
Parameters:
baseUrl- Base URL for the API (e.g.,https://your-domain.atlassian.net)authenticationProvider- Authentication provider instancehttpClient- Optional custom HttpClient instance
Features:
- Automatic configuration of custom DateTimeOffset converters
- Pre-configured JSON serialization options
- Support for custom HttpClient instances
DateTimeOffsetConverter
Custom JSON converter that handles Atlassian's specific date-time format: 2026-04-18T09:04:00.1182+0000
Features:
- Reads multiple date-time format variations
- Writes dates in Atlassian-compatible format (ISO 8601 with timezone offset without colon)
- Handles up to 4 millisecond digits
- Automatic UTC conversion
Format Specification:
- Format:
yyyy-MM-ddTHH:mm:ss.ffff+0000 - Timezone: Always +0000 (UTC)
- Milliseconds: Up to 4 digits, trailing zeros removed
API Token Generation
Jira & Confluence
Generate API tokens from: https://id.atlassian.com/manage-profile/security/api-tokens
Bitbucket
Generate app passwords from: Bitbucket Settings > App passwords
Repository
For more information, visit the Atlassian REST Client repository.
License
MIT - See LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.Kiota.Bundle (>= 1.22.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Kubis1982.Atlassian.RestClient:
| Package | Downloads |
|---|---|
|
Kubis1982.Atlassian.Bitbucket.RestClient.v2
Strongly-typed REST client for Atlassian Bitbucket Cloud API v2, generated using Microsoft Kiota from official OpenAPI specification. |
|
|
Kubis1982.Atlassian.Jira.RestClient.v3
Strongly-typed REST client for Atlassian Jira Cloud API v3, generated using Microsoft Kiota from official OpenAPI specification. |
|
|
Kubis1982.Atlassian.Confluense.RestClient.v2
Strongly-typed REST client for Atlassian Confluence Cloud API v2, generated using Microsoft Kiota from official OpenAPI specification. |
|
|
Kubis1982.Atlassian.Jira.RestClient.v2
Strongly-typed REST client for Atlassian Jira Cloud API v2, generated using Microsoft Kiota from official OpenAPI specification. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 172 | 4/19/2026 |