Skip to content

feat: add organization issue fields config export wiring#6

Merged
joshjohanning merged 4 commits into
mainfrom
joshjohanning/issue-fields-export
May 20, 2026
Merged

feat: add organization issue fields config export wiring#6
joshjohanning merged 4 commits into
mainfrom
joshjohanning/issue-fields-export

Conversation

@joshjohanning
Copy link
Copy Markdown
Owner

Why

The companion sync action now supports organization issue fields, so this repo needs to export and provide issue field config per org for end-to-end testing before release.

What changed

  • Added config/issue-fields.yml in the action-compatible schema.
  • Included the current org issue fields (Priority, Start date, Target date, Effort) with their data types, visibility, and single-select option values.
  • Wired issue-fields-file into the org entry in orgs.yml.
  • Added the matching delete-unmanaged-issue-fields drift-control comment beside related toggles.

Notes

  • The issue field values were taken from the authenticated org settings view because the local CLI token lacked admin:org scope for direct API reads at execution time.
  • Single-select colors use API enum names (pink, red, yellow, green) and priorities are preserved in display order.

Add issue-fields configuration and wire it into orgs.yml so issue fields can be synced end-to-end with the companion action feature.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 20, 2026 15:41
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds organization-level issue fields configuration export to this repo and wires it into orgs.yml so the bulk org settings sync workflow can apply (and optionally drift-control) issue field definitions during end-to-end testing.

Changes:

  • Added config/issue-fields.yml defining org issue fields (Priority, Start date, Target date, Effort) with types, visibility, and select options.
  • Wired the new config into orgs.yml via issue-fields-file.
  • Added the corresponding drift-control toggle comment delete-unmanaged-issue-fields alongside existing unmanaged-delete options.
Show a summary per file
File Description
orgs.yml Adds issue-fields-file wiring and a matching drift-control toggle comment for unmanaged issue fields.
config/issue-fields.yml Introduces the action-compatible org issue fields definitions (single-select and date fields) for syncing.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@joshjohanning joshjohanning changed the title Add organization issue fields config export wiring feat: add organization issue fields config export wiring May 20, 2026
@joshjohanning joshjohanning merged commit f5e44d5 into main May 20, 2026
2 checks passed
@joshjohanning joshjohanning deleted the joshjohanning/issue-fields-export branch May 20, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants