I created a project template in my app. My projects shall use a specific set of configuration schemes which I wanted to create programmatically inside of my
configure()-method in my
AddProjectHook class. I tried to create issuetypes, fieldscreens, fieldschreenschemes, workflows and a workflowscheme, if they are not already existing. Unfortunately the creation process at runtime times out without any visible cause in the logs. It just says “Request timeout when creating project” in the GUI.
I am not using the JSON config file for project templates because it seems not to be possible to reuse existing schemes here. Everytime I create a project with my template it creates a new workflowscheme, workflows, fieldscreens and fieldscreenschemes. Only the issuetypes were not dublicated.
Is it generally a good idea to create these things during project creation or should I move it somewhere else? Is there a way to increate the timeout threshold?