There is a guide to create workflow, but honestly not so helpful.
https://www.jetbrains.com/help/youtrack/standalone/Workflow-Guide.html
It creates issue entity but no sprint. I can't find it, how can I add properties (date-range, name, board) to the new sprint.
var newSprintEntity = new entities.Sprint(/* ??? */);
Is there any solution for this?