Skip to content

Commit

Permalink
Fixed empty check on remoteIssueBatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Hjelm committed Apr 7, 2024
1 parent 555fc86 commit 753c89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WorkItemMigrator/JiraExport/JiraProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public IEnumerable<JiraItem> EnumerateIssues(string jql, HashSet<string> skipLis
remoteIssueBatch = response.SelectTokens("$.issues[*]").OfType<JObject>()
.Select(i => i.SelectToken("$.key").Value<string>());

if (remoteIssueBatch == null || remoteIssueBatch.Any())
if (remoteIssueBatch == null || !remoteIssueBatch.Any())
{
Logger.Log(LogLevel.Warning, $"No issuse were found using jql: {jql}");
break;
Expand Down

0 comments on commit 753c89d

Please sign in to comment.