Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 3bf9a4f

Browse files
Allow more issues to be retrieved on JIRA
1 parent 5a195b1 commit 3bf9a4f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/GitTools.Core/Git/Extensions/IRepositoryExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public static TaggedCommit GetTag(this IRepository repository, string fromTag)
2424
{
2525
if (!Cache.ContainsKey(fromTag))
2626
{
27-
Cache.Add(fromTag, GetLastTaggedCommit(repository, t => string.IsNullOrEmpty(fromTag) || t.TagName == fromTag));
27+
var lastTaggedCommit = GetLastTaggedCommit(repository, t => string.IsNullOrEmpty(fromTag) || t.TagName == fromTag);
28+
Cache.Add(fromTag, lastTaggedCommit);
2829
}
2930

3031
return Cache[fromTag];

src/GitTools.IssueTrackers/IssueTrackers/Jira/JiraIssueTracker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public override IEnumerable<Issue> GetIssues(string filter = null, bool includeO
2525
Log.DebugFormat("Connecting to Jira server '{0}'", _issueTrackerContext.Server);
2626

2727
var jira = new Jira(_issueTrackerContext.Server, _issueTrackerContext.Authentication.Username, _issueTrackerContext.Authentication.Password);
28-
jira.MaxIssuesPerRequest = 200;
28+
jira.MaxIssuesPerRequest = 500;
2929

3030
Log.Debug("Retrieving statuses");
3131

0 commit comments

Comments
 (0)