diff --git a/.circleci/config.yml b/.circleci/config.yml index 96e8ba80..4d5cb220 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -149,7 +149,7 @@ workflows: context : org-global filters: branches: - only: ['develop', 'migration-setup', 'PM-1612', 'fix-2321'] + only: ['develop', 'migration-setup', 'PM-1612', 'fix-2321', 'pm-2435'] - deployProd: context : org-global filters: diff --git a/src/util.js b/src/util.js index 98e097c7..51c5bb7a 100644 --- a/src/util.js +++ b/src/util.js @@ -855,7 +855,7 @@ const projectServiceUtils = { }).then((res) => { const roles = res.data; logger.debug(`Roles by ${roleName}: ${JSON.stringify(roles)}`); - return roles + return roles.result.content .filter(item => item.roleName === roleName) .map(r => r.id); });