add commenting on issues
This commit is contained in:
@@ -390,21 +390,12 @@ namespace Blueberry.Redmine
|
||||
{
|
||||
issue = new
|
||||
{
|
||||
notes = comment
|
||||
}
|
||||
};
|
||||
var privatePayload = new
|
||||
{
|
||||
issue = new
|
||||
{
|
||||
private_notes = comment
|
||||
notes = comment,
|
||||
private_notes = isPrivate
|
||||
}
|
||||
};
|
||||
|
||||
if(isPrivate)
|
||||
await SendRequestAsync<object>(HttpMethod.Put, path, privatePayload, token: token);
|
||||
else
|
||||
await SendRequestAsync<object>(HttpMethod.Put, path, payload, token: token);
|
||||
await SendRequestAsync<object>(HttpMethod.Put, path, payload, token: token);
|
||||
}
|
||||
|
||||
public async Task<List<TimeOnIssue.TimeEntry>> GetTimeOnIssueAsync(int issueId, int limit = 25, IProgress<(int, int)>? progress = null, CancellationToken? token = null)
|
||||
|
||||
Reference in New Issue
Block a user