So currently I'm working on a script to deep copy a project, but with own schemes for the copy.
Now I ran into some problems with copying the IssueTypeScreenSchemes. I can add all entities from the old scheme to the new scheme, but the default one with IssueTypeId null (because default) is not copied properly.
As there is no function, constructor or anything to set default and it does not like some entity passed with IssueTypeId null, I tried to have a look at the REST API, but there is no way to do it via API either.
Anyone has an idea on how to apply a ScreenScheme as default in an IssueTypeScreenScheme?