dapplo / Dapplo.Jira

This is a simple REST based JIRA client, written for Greenshot, by using Dapplo.HttpExtension
MIT License
35 stars 14 forks source link

Support for "fields" in GetIssue #55

Closed toertchn closed 3 years ago

toertchn commented 3 years ago

Can you please add basic support to use "fields" in GetIssue?

public static Task<Issue> GetAsync(this IIssueDomain jiraClient, string issueKey, IEnumerable<string> fields = null, CancellationToken cancellationToken = default)
{
    return jiraClient.GetAsync<Issue, IssueFields>(issueKey, fields, cancellationToken);
}

Thank you

Lakritzator commented 3 years ago

I've added fields and extend, I hope that makes sense to you.

The version I created is 1.1.27