Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

You can use Jira REST API to work with the checklists.

Overview

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 com.railsware.SmartChecklist.checklist issue property as a main checklist storage.

You would still be able to set checklist data using issue property but it won’t be updated while working with the checklist.

References

Checklist Format

Use checklist RAW text Markdown format to set its value. Check the Formatting Guide for more info.

Example

Set the checklist

"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 customfield_10001 might be different on your instance. Make sure you use the correct one.

Here’s How to find id for custom field “Checklist” on Jira Server and Data Center.

Related Pages

Automations & Integrations

Error rendering macro 'excerpt-include' : No link could be created for 'Support'.

  • No labels