Skip to content

Commit

Permalink
Ensure that we reset the "Component Lead Review" on reopen
Browse files Browse the repository at this point in the history
That way, when the issue comes back to CLR/IR, the automation
will re-evaluate the route to follow.
  • Loading branch information
stronk7 committed Jun 19, 2024
1 parent 6bf9ed1 commit 13c24a6
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ ${basereq} --action getIssueList \
)" \
--file "${resultfile}"

# Iterate over found issues, adding the comment ('Waiting for Feedback Notifications' will be cleaned by the workflow).
# Iterate over found issues, adding the comment
# (Note that the 'Waiting for Feedback Notifications' interim filed will be cleaned by the workflow).
# Here we update:
# - Component Lead Review (customfield_15810) = reset to blank/empty.
# - Currently in integration (customfield_10211) = reset to blank/empty.
for issue in $( sed -n 's/^"\(MDL-[0-9]*\)".*/\1/p' "${resultfile}" ); do
echo "Processing ${issue} - Reopen notification"
echo "$BUILD_NUMBER $BUILD_TIMESTAMP ${issue}: Reopen notification" >> "${logfile}"
Expand All @@ -138,6 +142,7 @@ for issue in $( sed -n 's/^"\(MDL-[0-9]*\)".*/\1/p' "${resultfile}" ); do
--issue ${issue} \
--transition "Reopen Issue" \
--field "customfield_10211=" \
--field "customfield_15810=" \
--comment "${comment}"
done

Expand Down

0 comments on commit 13c24a6

Please sign in to comment.