'name' property cannot be changed in the root of a relative project hierarchy

I use versioned settings (Kotlin DSL) in TeamCity and they work well, but I'm unable to change the project name:

- The text box in TeamCity is read-only, because I have “Allow editing project settings via UI” turned off

- But in DSL I can't set Project.name, because of error “'name' property cannot be changed in the root of a relative project hierarchy”

Am I missing anything?

 

0
1 comment
Hi,

Thank you for reporting this issue. We had a bug entry on our tracker: [TW-84747](https://youtrack.jetbrains.com/issue/TW-84747/Unable-to-update-project-name-when-versioned-settings-use-context-parameters)
Right now the only workaround is to disable the versioned settings temporarily, change the name, then enable them back.
0

Please sign in to leave a comment.