diff --git a/packages/sfp-cli/src/impl/release/ReleaseImpl.ts b/packages/sfp-cli/src/impl/release/ReleaseImpl.ts index 14c204c39..0d887a2bb 100644 --- a/packages/sfp-cli/src/impl/release/ReleaseImpl.ts +++ b/packages/sfp-cli/src/impl/release/ReleaseImpl.ts @@ -109,7 +109,7 @@ export default class ReleaseImpl { releaseName = succededDeployment.releaseDefinition.release; let releaseDefinition = succededDeployment.releaseDefinition; if (releaseDefinition.changelog) { - if (releaseDefinition.changelog.workItemFilters) { + if (releaseDefinition.changelog?.workItemFilters) { workitemFilters.push(...releaseDefinition.changelog?.workItemFilters); } if (releaseDefinition.changelog.limit > limit) limit = releaseDefinition.changelog.limit;