public IssueListItem(Guid id, Guid projectId, Enums.IssueType issueType, string title, string description, IssueStatus status, Guid reporterId, Guid?assigneeId) { Id = id; ProjectId = projectId; IssueType = issueType; Title = title; Description = description; Status = status; ReporterId = reporterId; AssigneeId = assigneeId; }
public IssueResponse(Guid id, Guid projectId, Guid?sprintId, Enums.IssueType issueType, string title, string description, IssueStatus status, Guid reporterId, string reporterFullName, string reporterEmail, Guid?assigneeId, IReadOnlyCollection <CommentResponse> comments, IReadOnlyCollection <LabelResponse> labels, long version, bool isLinkedIssue = false, LinkedTo linkedTo = null, IReadOnlyCollection <LinkedIssue> linkedIssues = null) { Id = id; ProjectId = projectId; SprintId = sprintId; IssueType = issueType; Title = title; Description = description; Status = status; ReporterId = reporterId; ReporterFullName = reporterFullName; ReporterEmail = reporterEmail; AssigneeId = assigneeId; Comments = comments; Labels = labels; Version = version; IsLinkedIssue = isLinkedIssue; LinkedTo = linkedTo; LinkedIssues = linkedIssues; }
public LinkedIssue(Guid id, string title, Enums.IssueType issueType) { Id = id; Title = title; IssueType = issueType; }
public LinkedTo(Guid issueId, string title, Enums.IssueType issueType) { IssueId = issueId; Title = title; IssueType = issueType; }
public void SetLinkedTo(Guid issueId, string title, Enums.IssueType issueType) { IsLinkedIssue = true; LinkedTo = new Issues.LinkedTo(issueId, title, issueType); }