diff --git a/config/issue-fields.yml b/config/issue-fields.yml new file mode 100644 index 0000000..242b122 --- /dev/null +++ b/config/issue-fields.yml @@ -0,0 +1,49 @@ +# Issue field definitions synced to target organizations +# See: https://docs.github.com/en/rest/orgs/issue-fields +# Captured from joshjohanning-org current state. + +- name: Priority + description: 'Current importance level assigned to this issue' + data-type: single_select + visibility: organization_members_only + options: + - name: Urgent + color: pink + priority: 1 + - name: High + color: red + priority: 2 + - name: Medium + color: yellow + priority: 3 + - name: Low + color: green + priority: 4 + +- name: Start date + description: 'Date when work on issue will begin' + data-type: date + visibility: organization_members_only + +- name: Target date + description: 'Expected completion date for this issue' + data-type: date + visibility: organization_members_only + +- name: Effort + description: 'Relative level of effort for completing this issue' + data-type: single_select + visibility: organization_members_only + options: + - name: High + color: red + priority: 1 + - name: Medium + color: yellow + priority: 2 + - name: Low + color: green + priority: 3 + - name: Superlow + color: pink + priority: 4 diff --git a/orgs.yml b/orgs.yml index bb35d53..11cfbb9 100644 --- a/orgs.yml +++ b/orgs.yml @@ -4,6 +4,7 @@ orgs: custom-repo-roles-file: './config/custom-repo-roles.yml' actions-allow-list-file: './config/actions-allow-list.yml' issue-types-file: './config/issue-types.yml' + issue-fields-file: './config/issue-fields.yml' code-security-configurations-file: './config/code-security-configurations.yml' rulesets-file: - './config/rulesets/block-security-checks-updating.json' @@ -24,6 +25,7 @@ orgs: # --- Drift control: uncomment to delete resources not defined in config --- # delete-unmanaged-properties: true # delete-unmanaged-issue-types: true + # delete-unmanaged-issue-fields: true # delete-unmanaged-rulesets: true # delete-unmanaged-code-security-configurations: true # delete-unmanaged-org-roles: true