Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LPTOCPCI-1383] Add option for new additional labels file in firewatch #53920

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ if [ -n "${FIREWATCH_CONFIG_FILE_PATH}" ]; then
report_command+=" --firewatch-config-path=${FIREWATCH_CONFIG_FILE_PATH}"
fi

# If the additional labels file exists, add it to the report command
if [ -f "${FIREWATCH_JIRA_ADDITIONAL_LABELS_FILE}" ]; then
report_command+=" --additional-labels-file=${FIREWATCH_JIRA_ADDITIONAL_LABELS_FILE}"
fi

eval "$report_command"
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ ref:
- name: FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS
default: ""
documentation: The list of default Jira labels to be applied to issues where the "jira_additional_labels" list contains "!default".
- name: FIREWATCH_JIRA_ADDITIONAL_LABELS_FILE
default: "${SHARED_DIR}/firewatch-additional-labels"
documentation: The file path to the file containing additional labels to be applied to Jira issues. Each label should be separated with a new line.
- name: FIREWATCH_DEFAULT_JIRA_ASSIGNEE
default: ""
documentation: The default value for the assignee of issues where the "jira_assignee" value is set to "!default".
Expand Down