feat: add organization issue fields config export wiring#6
Merged
Conversation
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>
There was a problem hiding this comment.
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.ymldefining org issue fields (Priority,Start date,Target date,Effort) with types, visibility, and select options. - Wired the new config into
orgs.ymlviaissue-fields-file. - Added the corresponding drift-control toggle comment
delete-unmanaged-issue-fieldsalongside 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
config/issue-fields.ymlin the action-compatible schema.Priority,Start date,Target date,Effort) with their data types, visibility, and single-select option values.issue-fields-fileinto the org entry inorgs.yml.delete-unmanaged-issue-fieldsdrift-control comment beside related toggles.Notes
admin:orgscope for direct API reads at execution time.pink,red,yellow,green) and priorities are preserved in display order.