# This is the config file for the trigger CheckFixes.py
# It defines the error message, the allowed states when jobs can be linked to and the field
# to check for those state values.
#
# It is a standard Yaml format - when in doubt put quotes around string values!
# fix_state_field: the name of the field in the Perforce job spec
fix_state_field: "JiraStatus"
# link_allowed_states: An array of values for fix_state_field in which links are allowed to be created
# or deleted between jobs and changelists
fix_allowed_states:
- "Accepted"
# msg_cant_link_jobs: An array of lines for the message
# For legibility it is good to have the first line blank
msg_cant_link_jobs:
- ""
- "You are not allowed to link changes to or unlink changes from these jobs"
- "because of the state of their associated JIRA issues."
- "Please change the state first in JIRA and try again."