Polarion 0.0.1
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 Polarion --version 0.0.1
NuGet\Install-Package Polarion -Version 0.0.1
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="Polarion" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Polarion" Version="0.0.1" />
<PackageReference Include="Polarion" />
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 Polarion --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Polarion, 0.0.1"
#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 Polarion@0.0.1
#: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=Polarion&version=0.0.1
#tool nuget:?package=Polarion&version=0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PolarionApiClient
A .NET client library for accessing Polarion Requirements Management System via SOAP API.
Installation
dotnet add package Polarion
Usage
Creating the Client
var config = new PolarionClientConfiguration
{
ServerUrl = "https://your-polarion-server",
Username = "your-username",
Password = "your-password",
ProjectId = "YourProject",
TimeoutSeconds = 60
};
var polarionClient = await PolarionClient.CreateAsync(config);
Working with Work Items
// Get a specific work item
var workItemResult = await polarionClient.GetWorkItemByIdAsync("REQ-123");
if (workItemResult.IsSuccess)
{
var workItem = workItemResult.Value;
// Work with the item
}
// Query work items with specific fields
var query = "type:requirement AND status:approved";
var fields = new List<string> { "id", "title", "status", "customFields.myCustomField" };
var searchResult = await polarionClient.SearchWorkitem(query, "Created", fields);
// Query work items in a baseline
var baselineResult = await polarionClient.SearchWorkitemInBaseline(
"myBaseline",
"type:requirement",
"Created"
);
Working with Documents
// Get all documents in a space
var documentsResult = await polarionClient.GetDocumentsInSpace("MySpace");
if (documentsResult.IsSuccess)
{
foreach (var document in documentsResult.Value)
{
// Work with document
}
}
Features
- Access Polarion work items via SOAP API
- Query work items with Lucene query language
- Support for baseline queries
- Document/Module access capabilities
- Custom field support
- Strongly-typed models
- Built on .NET 8.0
- Automatic session management
- Secure cookie handling
- Configurable timeouts
Query Examples
Basic Queries
// Search for approved requirements
"type:requirement AND status:approved"
// Search for items modified in last week
"updated:[NOW-7DAYS TO NOW]"
Using Custom Fields
When retrieving custom fields, use the following syntax in the field_list:
var fields = new List<string> { "customFields.myCustomField" };
Error Handling
The client uses a Result pattern for error handling. All operations return a Result<T> that can be checked for success:
var result = await polarionClient.GetWorkItemByIdAsync("REQ-123");
if (result.IsSuccess)
{
var workItem = result.Value;
// Work with the item
}
else
{
var errorMessage = result.Error;
// Handle error
}
License
MIT
| 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 was computed. 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.
-
net8.0
- FluentResults (>= 3.13.0)
- Microsoft.Extensions.Configuration (>= 9.0.2)
- Microsoft.Extensions.DependencyInjection (>= 9.0.2)
- Microsoft.Extensions.Http (>= 9.0.2)
- Microsoft.Extensions.Logging (>= 9.0.2)
- System.ServiceModel.Http (>= 8.1.2)
- System.ServiceModel.Primitives (>= 8.1.2)
- System.ServiceModel.Security (>= 6.0.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 |
|---|---|---|
| 0.3.6 | 206 | 4/16/2026 |
| 0.3.5 | 221 | 3/20/2026 |
| 0.3.4 | 319 | 1/22/2026 |
| 0.3.3 | 124 | 1/14/2026 |
| 0.3.2 | 240 | 10/18/2025 |
| 0.3.1 | 187 | 10/18/2025 |
| 0.3.0 | 138 | 10/18/2025 |
| 0.2.1 | 236 | 10/15/2025 |
| 0.2.0 | 1,141 | 6/10/2025 |
| 0.1.0 | 228 | 6/3/2025 |
| 0.0.9 | 210 | 5/21/2025 |
| 0.0.8 | 278 | 5/15/2025 |
| 0.0.7 | 290 | 5/14/2025 |
| 0.0.6 | 403 | 5/12/2025 |
| 0.0.5 | 317 | 3/18/2025 |
| 0.0.4 | 234 | 3/11/2025 |
| 0.0.3 | 220 | 3/11/2025 |
| 0.0.2 | 216 | 3/11/2025 |
| 0.0.1 | 256 | 3/8/2025 |