This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new eb1ef2a CAMEL-15070: fetch up to 1000 results from Jira
eb1ef2a is described below
commit eb1ef2ad22ce1f93f2b89ed2c9d2de91765e0550
Author: Zoran Regvart <[email protected]>
AuthorDate: Tue May 19 20:13:19 2020 +0200
CAMEL-15070: fetch up to 1000 results from Jira
We need to fetch more than the default maximum (50) of issues from Jira to
gather every issue from a release, this sets the `maxResults` to `1000`.
---
layouts/release-note/single.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/release-note/single.html b/layouts/release-note/single.html
index 50dab24..b3f5745 100644
--- a/layouts/release-note/single.html
+++ b/layouts/release-note/single.html
@@ -109,7 +109,7 @@ git checkout camel-{{ .Params.version }}</pre>
<h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved
issues</h2>
<p>Here is a list of all the issues that have been resolved for this
release</p>
- {{ $issues_json := getJSON
"https://issues.apache.org/jira/rest/api/latest/search?jql=fixVersion=" (string
.Params.jiraVersionId) "&fields=issuetype,summary" }}
+ {{ $issues_json := getJSON
"https://issues.apache.org/jira/rest/api/latest/search?jql=fixVersion=" (string
.Params.jiraVersionId) "&fields=issuetype,summary&maxResults=1000" }}
{{ $issues := dict }}
{{ range $issues_json.issues }}
{{ $issues_by_type := (or (index $issues .fields.issuetype.name) slice)
| append (dict "issue" .key "summary" .fields.summary) }}