Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Nov 22, 2024
1 parent b0abb8a commit eb14802
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ protected void getProxyInfo(String jiraUrl) {
/**
* Override this method if you need to get issues for a specific Fix For.
*
* @return A Fix For id or <code>null</code> if you don't have that need
* @return a Fix For id or <code>null</code> if you don't have that need
*/
protected String getFixFor() {
if (onlyCurrentVersion && useJql) {
if (onlyCurrentVersion) {
// Let JIRA do the filtering of the current version instead of the JIRA mojo.
// This way JIRA returns less issues and we do not run into the "nbEntriesMax" limit that easily.

Expand Down
5 changes: 1 addition & 4 deletions src/main/java/org/apache/maven/plugins/jira/JiraReport.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ public class JiraReport extends AbstractChangesReport {
* <strong>Note:</strong> If you are using JIRA 4 you need to put your sort column names in the reverse order. The
* handling of this changed between JIRA 3 and JIRA 4. The current default value is suitable for JIRA 3. This may
* change in the future, so please configure your sort column names in an order that works for your own JIRA
* version. If you use JQL, by setting the <code>useJql</code> parameter to <code>true</code>, then the order of the
* fields are in normal order again. Starting with JIRA 5.1 you have to use JQL.
* version.
* </p>
*
* @since 2.0
Expand Down Expand Up @@ -421,8 +420,6 @@ private void configureIssueDownloader(AbstractJiraDownloader issueDownloader) {

issueDownloader.setSettings(settings);

issueDownloader.setUseJql(useJql);

issueDownloader.setOnlyCurrentVersion(onlyCurrentVersion);

issueDownloader.setVersionPrefix(versionPrefix);
Expand Down

0 comments on commit eb14802

Please sign in to comment.