public async Task UpdateProjectCustomField()

in src/YouTrackSharp/Projects/ProjectCustomFieldsService.cs [101:117]


        public async Task UpdateProjectCustomField(string projectId, CustomField customField)
        {
            if (string.IsNullOrEmpty(projectId))
            {
                throw new ArgumentNullException(nameof(projectId));
            }

            if (string.IsNullOrEmpty(customField?.Name))
            {
                throw new ArgumentNullException(nameof(customField));
            }

            var client = await _connection.GetAuthenticatedApiClient();
            var projectField = await GetProjectCustomField(projectId, customField.Name);
            var allFields = await client.AdminCustomfieldsettingsCustomfieldsGetAsync("id,name,fieldType(id,name)", 0, -1);
            await client.AdminProjectsCustomfieldsPostAsync(projectId, projectField.Id, customField.ToApiEntity(allFields));
        }