If you need a checklist in the Text format for automation purposes, copy the content of the "Editor".
If you need a checklist in the YAML format for automation purposes, use "Copy checklist as YAML" option from the checklist menu (Jira issue page).