I'm trying to create a real clone of a project with Scriptrunner.
To do that, i need to copy every single element of a project (workflow scheme, workflow, issue type scheme,...)
I'm acutally trying to do that with issue type screen scheme.
There is a manager for this object, but the function to create a issue type screen scheme is odd:
And there is no further description.
I tried to dig this issue until the screen object. Even for the screen we have this kind of function:
Besides the architecture of the issue type screen scheme is a bit weird, i found this:
The goal is to create FieldScreens, then associate them to upper objects.
But there is no real function to create FieldScreenScheme or FieldScreen or
There is still a possibility to create thos object since there are all kind of setters:
But that doesn't seems "clean" at all to me. Besides i still need to generate a correct id and i'm not sure how to generate a correcte "GenericValue".
Any idea for all this matter ? :)
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events