Hello together,
I use Scriptrunner to automatically create a subtask when creating a task.
For the subtask, a predefined time estimate should now be stored ("Original Estimate").
Is it possible to set a fixed number of hours for all subtasks created under the task?
I have already found the option to predefine a custom field
def cf = customFieldManager.getCustomFieldObjects(issue).find {it.name == 'MyCustomFieldType'}
issue.setCustomFieldValue(cf, 'my value')
However, the time tracking is not a custom field and probably does not work because of this.
Can someone please help me?
Greetings Michael