Skip to content

Commit

Permalink
OCM-11202 | chore: add output to release script for errata jira list
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranRoche committed Sep 17, 2024
1 parent 017dd70 commit 91851d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hack/release-list-jiras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ done <<< "$commit_output"
# Create a comma-separated list of Jira tickets
jira_list=$(IFS=, ; echo "${jira_tickets[*]}")

# Create a space-separated list of capitalized Jira tickets
errata_list=$(IFS=' ' ; echo "${jira_tickets[@]^^}")
echo -e "List of JIRA's to be used in Errata \n$errata_list"

# Create the JQL query for the list of Jira tickets
jql="project = \"Openshift Cluster Manager\" AND issue in ($jira_list) AND labels not in (no-qe) AND (fixVersion is EMPTY OR fixVersion = $current_release)"

Expand Down

0 comments on commit 91851d1

Please sign in to comment.