Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions tracker_automations/component_leads_integration_mover/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,8 @@ function verify_revievers_availability() {
if [[ -z ${availableCLR} ]]; then
continue
fi
# Due to GDPR, we cannot mention the email address of the reviewer, so we need to get the accountID.
# File where accountID will be stored.
accountfile=${WORKSPACE}/component_leads_integration_mover_accountid.txt
echo -n > "${accountfile}"
${basereq} --action getUser --userEmail ${availableCLR} --quiet --file "${accountfile}" > /dev/null
CLRAccountID=$(cat "${accountfile}")
rm "${accountfile}"
availableProfiles+=("[~${CLRAccountID}]")
# Due to GDPR, we cannot mention the email address of the reviewer, so we need to use the accountID.
availableProfiles+=("[~accountid:${availableCLR}]")
done
outcomedesc=$(IFS=, ; echo "Sending to CLR, there are available reviewers for the issue: ${availableProfiles[*]}")
return # Outcome set, and function finished we are done.
Expand Down
Loading