-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
2
-
False
-
-
False
-
-
-
RHDH Install 3274, RHDH Install 3275, RHDH Install 3276, RHDH Install 3277, RHDH Install 3278
rhidp / rhdh-jira-lint · GitLab
Add validation to flag completed Epics or Bugs with a fixVersion but no Release Note Type, unless it's explicitly marked "Release Note: Not Required".
To ensure release notes are not accidentally missed, the rhdh_jira_lint.py script should alert users when:
- The issue type is Epic or Bug
- The status is "Done" or "Release Pending"
- The issue has a Fix Version
- The Release Note Type field:
- is not set, or
- is set to a value other than “Release Note: Not Required”
If the above conditions are met, add a field-level alert:
[RHIDP-XXXX]: Completed Epic/Bug with fixVersion but no valid Release Note Type. Please add a Release Note type and Text
This helps remind contributors to set an appropriate release note classification.
Acceptance Criteria:
- Applies only to Bugs and Epics
- Only if issue is in "Done" or "Release Pending"
- Only if Fix Version is assigned
- Only triggers if Release Note Type is missing or not “Release Note: Not Required”
- Alert appears under Field Issues in Slack report
- Uses correct customfield_<ID> for Release Note Type (e.g., customfield_12345678)