title: Groovy (Script Runner/Jira) Get WorkLog from Parent Issue to SubTask
body: <p>I have a problem with get "Time spent" from Parent Issue to SubTask.
  Code below could get "Time spent" from WorkLog in Parent Issue to customfield with name "timeLogged", but I need set "Time spent" to Worklog not to customfield. Something like - Copy worklog from Parent Issue to Sub-Task. </p>
  
  <pre><code>def cfManager = ComponentAccessor.customFieldManager.getCustomFieldObjectByName("timeLogged")
  //timeLogged - customfield       
  def changeHolder = new DefaultIssueChangeHolder()
  cfManager.updateValue(null, issue, new ModifiedValue(issue.getCustomFieldValue(cfManager), parentIssue.getTimeSpent()),changeHolder)
  </code></pre>