github / github/gh-gei

Migrations fail if 'Require explicit user-specified values' is set on an org/enterprise custom property

Open
#1,563 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
478
Forks
146
Avg merge
7d 21h
Merged PRs (30d)
2

Description

We have a custom property named `owner` which is mandatory for all our repos. The `Require explicit user-specified values` setting is enabled on this property which is fine normally - you just supply the value during creation in the API call. There is no way to do this for a migration though - the `gh ado2gh migrate-repo` will just fail.

The migration command should support setting custom properties for the new repo, because otherwise the alternative is to disable the requirement every time you do a migration (and then you have to ensure that nobody sneaks in a new repo in that time and forgets to set the property).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.