in src/YouTrackSharp/Issues/IssuesService.cs [224:245]
public async Task DeleteIssue(string issueId)
{
if (string.IsNullOrEmpty(issueId))
{
throw new ArgumentNullException(nameof(issueId));
}
var client = await _connection.GetAuthenticatedApiClient();
try
{
await client.IssuesDeleteAsync(issueId);
}
catch (YouTrackErrorException e)
{
if (e.StatusCode == (int)HttpStatusCode.NotFound)
{
return;
}
throw;
}
}