You can use Jira REST API to work with the checklists.
You can read/write checklists by using Jira REST API accessing a “Checklists” custom field.
Read more about custom fields used by Smart Checklist addon and their setup here: Custom Fields |
Method | API reference |
---|---|
Get checklist value rom existing Jira issue | Use the Get Issue Jira REST API |
Create Jira issue with the checklist applied | Use the Create Issue Jira REST API |
Set the checklist for existing Jira issue | Use the Edit Issue Jira REST API |
Since Smart Checklist version 5.0.0 we’ve deprecating Read more here New checklist storage & migration |
Use checklist RAW text Markdown format to set its value. Check the Formatting Guide for more info.
"customfield_10001": "- ToDo List\n+ Checked\nx Skipped\n~ In Progress\n# Another ToDo List\n- Unchecked\n> Quote line 1 https://rw.rw\\n> Quote line 2\n> Quote line 3\n" |
Custom field id Here’s How to find id for custom field “Checklist” on Jira Server and Data Center. |