Task lists provide lists that look much like a bulletList, but there are differences in their visual representation. They can be nested (although at least one taskItem has to be provided before any nested task lists). The task items also require identifier strings that can be used to associate them with information in other systems.
1 2 3 4 5 6 7 8 9 10 11 12taskList( "test-list-id", taskItem() .todo() .localId("test-id1") .content("Do this!"), taskItem() .localId("test-id2") .state(DONE) .content("This is completed") );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35{ "type": "taskList", "attrs": { "localId": "test-list-id" }, "content": [ { "type": "taskItem", "attrs": { "localId": "test-id1", "state": "TODO" }, "content": [ { "type": "text", "text": "Do this!" } ] }, { "type": "taskItem", "attrs": { "localId": "test-id2", "state": "DONE" }, "content": [ { "type": "text", "text": "This is completed" } ] } ] }
| Confluence | Jira |
|---|---|
| ✅ | ❌ |
❌ N/A
taskListtaskList at index 0)Rate this page: