We created a issue type "work package" and we want to copy the original estimate (sum of stories in structure under this issue type) on the transition to a status "baselined" in a custom field.
Can someone please help me with the inline script for the scripted field we need to create for the custom field (created via scriptrunner).
(And is there somehow a possibility to lock this field after the transition?)