Copy job
documentedCreate a new job by copying an existing one via mode=copy and from=<source_job>.
POST /createItem?name={job_name}&mode=copy&from={source_job}Jobsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{JENKINS_BASE_URL}}/createItem?name={{$job_name}}&mode=copy&from={{$source_job}}" \
-X POST \
-u "{{JENKINS_USERNAME}}:{{JENKINS_API_TOKEN}}" \
-H "Accept: application/json"