by running
acli \
--action createOrUpdateIssue \
-- type 'Sub-task' \
I get the error, even after I specified --parent:
Client error: 'Sub-task' is not an allowed value for type.
if I change type to Task, it said that:
Remote error: issuetype: Issue type 10001 is not a sub-task but a parent is specified.