From 49162043d2ef9e971949b48d325005770f21ad78 Mon Sep 17 00:00:00 2001 From: Gerry Campion Date: Thu, 19 Feb 2026 14:01:32 -0500 Subject: [PATCH] converted issue templates to forms --- .github/ISSUE_TEMPLATE/1-bug.yml | 115 ++++++++++++++++++ .github/ISSUE_TEMPLATE/2-feature.yml | 109 +++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 4 + .github/ISSUE_TEMPLATE/rule-blocking-bug.md | 35 ------ .../rule-blocking-enhancement.md | 35 ------ 5 files changed, 228 insertions(+), 70 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/1-bug.yml create mode 100644 .github/ISSUE_TEMPLATE/2-feature.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/rule-blocking-bug.md delete mode 100644 .github/ISSUE_TEMPLATE/rule-blocking-enhancement.md diff --git a/.github/ISSUE_TEMPLATE/1-bug.yml b/.github/ISSUE_TEMPLATE/1-bug.yml new file mode 100644 index 000000000..8ca9442ef --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug.yml @@ -0,0 +1,115 @@ +name: Bug Report +description: An unexpected problem or behavior +projects: + - cdisc-org/19 +type: Bug +body: + - type: dropdown + id: standard + validations: + required: true + attributes: + label: Standard + multiple: true + options: + - CDISC ADaM + - CDISC Define-XML + - CDISC SDTM/SDTMIG + - CDISC SEND + - CDISC USDM + - FDA BR SDTM + - FDA BR SDTMIG + - FDA BR SEND + - FDA VR SDTMIG + - FDA VR SENDIG + - Custom + - type: input + id: reference_rule_id + validations: + required: true + attributes: + label: Reference Rule ID(s) + - type: input + id: core_id + attributes: + label: Conformance Rule ID(s) (if published in CORE) + value: CORE- + - type: input + id: jira + attributes: + label: JIRA Ticket + value: https://jira.cdisc.org/projects/CORERULES/issues/CORERULES- + - type: markdown + attributes: + value: "In the next fields, please provide a [Minimal Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example)." + - type: textarea + id: rule + validations: + required: true + attributes: + label: Rule YAML + render: YAML + value: | + Authorities: + - Organization: + Standards: + - Name: + References: + - Citations: + - Cited Guidance: + Document: + Item: + Section: + Origin: + Rule Identifier: + Id: + Version: + Version: + Version: + Check: + all: + - name: + operator: + value: + Core: + Id: + Status: + Version: '1' + Description: + Executability: Fully Executable + Match Datasets: + - Keys: + - + Name: + Operations: + - id: + operator: + Outcome: + Message: + Output Variables: + - + Rule Type: + Scope: + Sensitivity: + - type: textarea + id: test_data + validations: + required: true + attributes: + label: Sample Test Data File + - type: textarea + id: output + validations: + required: true + attributes: + label: Output report and/or log file + - type: textarea + id: expected + validations: + required: true + attributes: + label: Expected output + - type: textarea + id: additional_info + attributes: + label: Any Additional Information diff --git a/.github/ISSUE_TEMPLATE/2-feature.yml b/.github/ISSUE_TEMPLATE/2-feature.yml new file mode 100644 index 000000000..552d28d26 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-feature.yml @@ -0,0 +1,109 @@ +name: Rule-related Feature Request +description: A request for a new feature or enhancement related to a rule +projects: + - cdisc-org/19 +type: Feature +body: + - type: dropdown + id: standard + validations: + required: true + attributes: + label: Standard + multiple: true + options: + - CDISC ADaM + - CDISC Define-XML + - CDISC SDTM/SDTMIG + - CDISC SEND + - CDISC USDM + - FDA BR SDTM + - FDA BR SDTMIG + - FDA BR SEND + - FDA VR SDTMIG + - FDA VR SENDIG + - Custom + - type: input + id: reference_rule_id + validations: + required: true + attributes: + label: Reference Rule ID(s) + - type: input + id: core_id + attributes: + label: Conformance Rule ID(s) (if published in CORE) + value: CORE- + - type: input + id: jira + attributes: + label: JIRA Ticket + value: https://jira.cdisc.org/projects/CORERULES/issues/CORERULES- + - type: markdown + attributes: + value: "In the next fields, please provide a [Minimal Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example)." + - type: textarea + id: rule + validations: + required: true + attributes: + label: Proposed Rule YAML + render: YAML + value: | + Authorities: + - Organization: + Standards: + - Name: + References: + - Citations: + - Cited Guidance: + Document: + Item: + Section: + Origin: + Rule Identifier: + Id: + Version: + Version: + Version: + Check: + all: + - name: + operator: + value: + Core: + Id: + Status: + Version: '1' + Description: + Executability: Fully Executable + Match Datasets: + - Keys: + - + Name: + Operations: + - id: + operator: + Outcome: + Message: + Output Variables: + - + Rule Type: + Scope: + Sensitivity: + - type: textarea + id: test_data + validations: + required: true + attributes: + label: Attach any sample test data file(s) + - type: textarea + id: expected + validations: + required: true + attributes: + label: Expected output + - type: textarea + id: additional_info + attributes: + label: Any Additional Information diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..19e409fdc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,4 @@ +contact_links: + - name: CORE Discussion Forum + url: https://github.com/cdisc-org/cdisc-rules-engine/discussions/categories/general + about: Please ask and answer general questions here. diff --git a/.github/ISSUE_TEMPLATE/rule-blocking-bug.md b/.github/ISSUE_TEMPLATE/rule-blocking-bug.md deleted file mode 100644 index 1d8072bca..000000000 --- a/.github/ISSUE_TEMPLATE/rule-blocking-bug.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: Rule-Blocking Bug -about: For bug reports that block a rule -title: 'Rule blocked: CORERULES-###' -type: Bug -assignees: '' - ---- - -- Attach a .txt file with the JSON containing the full request. This can be copied from the Rule Editor under Test->Results->Request. -- Replace the "###" in the issue title with the primary JIRA ticket number for the rule. -- Fill in the following information - -**Links to related JIRA Tickets** -- https://jira.cdisc.org/projects/CORERULES/issues/CORERULES- -- https://jira.cdisc.org/projects/CORERULES/issues/CORERULES- - -**Rule Information** -- **Standard**: -- **Rule ID**: -- **Rule Description**: - -**Describe the bug** -A clear and concise description of what the bug is. - -**Error returned from Rule Engine** -```json -Replace this with the contents from the Rule Editor under Test->Results->Result. If there are no results, provide the error message -``` - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. diff --git a/.github/ISSUE_TEMPLATE/rule-blocking-enhancement.md b/.github/ISSUE_TEMPLATE/rule-blocking-enhancement.md deleted file mode 100644 index 953e75a6b..000000000 --- a/.github/ISSUE_TEMPLATE/rule-blocking-enhancement.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: Rule-Blocking Enhancement -about: For feature requests that block a rule -title: 'Rule blocked: CORERULES-###' -type: Feature -assignees: '' - ---- - -- Attach test dataset files that can be used to test the new feature -- Replace the "###" in the issue title with the primary JIRA ticket number for the rule. -- Fill in the following information - -**Links to related JIRA Tickets** -- https://jira.cdisc.org/projects/CORERULES/issues/CORERULES- -- https://jira.cdisc.org/projects/CORERULES/issues/CORERULES- - -**Rule Information** -- **Standard**: -- **Rule ID**: -- **Rule Description**: - -**Describe the problem** -A clear and concise description of the problem. - -**Describe the solution** -A clear and concise description of how this problem could be solved. - -**Proposed rule logic** -```yaml -Replace this with an example of how the new solution could be written as a rule -``` - -**Screenshots** -If applicable, add screenshots to help explain your problem and solution.