I'm trying to follow an example provided here, to pre-populate sub-task issue fields upon creation (because some of them are required).
However code, as well as description, refres to parentIssueId field which should be present on form. But how does one gets the value of a parent issue ID when sub-task is just being created?
What I'm trying to do is to pre-populate several fields from the parent issue when Create is being called, so the script to appear in Initializer section, without a need to trigger or change anything from end user.