Remove search done issues by custom field
[MAILPOET-3152]
This commit is contained in:
@ -8,7 +8,6 @@ class JiraController {
|
|||||||
|
|
||||||
const CHANGELOG_FIELD_ID = 'customfield_10500';
|
const CHANGELOG_FIELD_ID = 'customfield_10500';
|
||||||
const RELEASENOTE_FIELD_ID = 'customfield_10504';
|
const RELEASENOTE_FIELD_ID = 'customfield_10504';
|
||||||
const VERSION_INCREMENT_FIELD_ID = 'customfield_10509';
|
|
||||||
const PULL_REQUESTS_ID = 'customfield_10000';
|
const PULL_REQUESTS_ID = 'customfield_10000';
|
||||||
|
|
||||||
const WONT_DO_RESOLUTION_ID = '10001';
|
const WONT_DO_RESOLUTION_ID = '10001';
|
||||||
|
@ -61,7 +61,7 @@ class ReleaseVersionController {
|
|||||||
private function getUnreleasedDoneIssues($project = null) {
|
private function getUnreleasedDoneIssues($project = null) {
|
||||||
$project = $project ?: $this->project;
|
$project = $project ?: $this->project;
|
||||||
$jql = "project = $project AND status = Done AND (fixVersion = EMPTY OR fixVersion IN unreleasedVersions()) AND updated >= -52w";
|
$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'];
|
return $result['issues'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user