Remove search done issues by custom field

[MAILPOET-3152]
This commit is contained in:
Jan Lysý
2020-10-07 16:56:51 +02:00
committed by Pavel Dohnal
parent b7fde9dd93
commit 09a392f5b1
2 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@ class JiraController {
const CHANGELOG_FIELD_ID = 'customfield_10500';
const RELEASENOTE_FIELD_ID = 'customfield_10504';
const VERSION_INCREMENT_FIELD_ID = 'customfield_10509';
const PULL_REQUESTS_ID = 'customfield_10000';
const WONT_DO_RESOLUTION_ID = '10001';

View File

@ -61,7 +61,7 @@ class ReleaseVersionController {
private function getUnreleasedDoneIssues($project = null) {
$project = $project ?: $this->project;
$jql = "project = $project AND status = Done AND (fixVersion = EMPTY OR fixVersion IN unreleasedVersions()) AND updated >= -52w";
$result = $this->jira->search($jql, ['key', JiraController::VERSION_INCREMENT_FIELD_ID]);
$result = $this->jira->search($jql);
return $result['issues'];
}