Class JiraBugFiler
JIRA implementation of a bug filer.
Assembly: CrashCABN.BugFiler.Jira.dll
Syntax
public sealed record JiraBugFiler : ExtendedBugFilerBase<JiraBugFiler, BasicIssue>, IBugFiler<BasicIssue, BasicIssue>, IEquatable<BugFilerBase<JiraBugFiler, BasicIssue>>, IBugFilerExtended, IBugFiler, IBugSearch, IEquatable<ExtendedBugFilerBase<JiraBugFiler, BasicIssue>>, IEquatable<JiraBugFiler>
Constructors
View Source
JiraBugFiler(BugRepositoryDetails, ExtendedJiraClient, ILogger<JiraBugFiler>)
JIRA implementation of a bug filer.
Declaration
public JiraBugFiler(BugRepositoryDetails BugRepository, ExtendedJiraClient JiraClient, ILogger<JiraBugFiler> Logger)
Parameters
Properties
View Source
DescriptionField
Declaration
protected override string DescriptionField { get; }
Property Value
Overrides
CrashCABN.BugFiler.ExtendedBugFilerBase<CrashCABN.BugFiler.JiraBugFiler, JIRC.Domain.BasicIssue>.DescriptionField
View Source
JiraClient
Declaration
public ExtendedJiraClient JiraClient { get; init; }
Property Value
Methods
View Source
CreateItemAsync(AppliesToEnum, IImmutableDictionary<string, MetadataItem>, IAttachmentContainer?, BasicIssue?, string?, string?)
Declaration
protected override Task<(BasicIssue Item, int Id)> CreateItemAsync(AppliesToEnum crashOrBug, IImmutableDictionary<string, MetadataItem> metadata, IAttachmentContainer? attachments, BasicIssue? parentBug, string? appName, string? appVersion)
Parameters
Returns
Overrides
View Source
DeleteCrashAsync(int)
Declaration
public override Task DeleteCrashAsync(int id)
Parameters
Type |
Name |
Description |
int |
id |
The crash instance ID.
|
Returns
Type |
Description |
Task |
A task representing the asynchronous operation.
|
Overrides
View Source
FindMatchingBugAsync(string, string, string, KeyValuePair<string, IImmutableList<string>>?, CancellationToken)
Declaration
public override Task<BugDetails> FindMatchingBugAsync(string bucket, string appName, string appVersion, KeyValuePair<string, IImmutableList<string>>? parentBugFilter, CancellationToken cancellationToken)
Parameters
Returns
Overrides
View Source
GetCrashById(int)
Declaration
protected override Task<BasicIssue?> GetCrashById(int id)
Parameters
Type |
Name |
Description |
int |
id |
|
Returns
Type |
Description |
Task<BasicIssue> |
|
Overrides
View Source
GetFieldValue(BasicIssue, string)
Declaration
protected override string? GetFieldValue(BasicIssue crash, string field)
Parameters
Type |
Name |
Description |
BasicIssue |
crash |
|
string |
field |
|
Returns
Overrides
View Source
Gets the fields for a bug or crash.
Declaration
public override ValueTask<IEnumerable<BugFilerField>> GetFields(AppliesToEnum crashOrBug)
Parameters
Returns
Overrides
CrashCABN.BugFiler.ExtendedBugFilerBase<CrashCABN.BugFiler.JiraBugFiler, JIRC.Domain.BasicIssue>.GetFields(CrashCABN.Metadata.AppliesToEnum)
View Source
QueryMatchingCrashes(string, string, bool, bool, CancellationToken)
Declaration
protected override IAsyncEnumerable<int> QueryMatchingCrashes(string comparisonFieldName, string comparisonFieldValue, bool returnFirstMatch = false, bool enableSearchFilter = true, CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
Implements