I was searching for a way to copy jenkins job with builds using API.
I tried few Python Wrappers:
from api4jenkins import Jenkins
j = Jenkins('http://127.0.0.1:8080/', auth=('admin', 'admin'))
j.copy_job('freestylejob', 'newjob')
but the copy methods in all of them copies the job without the builds.