Hi - it looks like you're talking about the new Action Items in Jira.
You are correct that markdown is not supported for adding checkboxes ("action items") via the API, Automation, etc.
I haven't tried using the API to add tasks, but looking at the API v3 Get issue endpoint you can see how Action Items (checklist) data is stored in the Description field, with a new content type, taskList that contains and array of taskItems. Example here.
@Sunny Ape found that you don't need to specify a valid localId parameter, so you should be able to start with his example here.
EDITED: If you review the comments on the original post, you'll notice that other users like yourself have highlighted limitations after the Jira action items roll-out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Angela Thomas_Seibert Group while I appreciate that you want to sell your plug-in, the original question was about "Trying to add a checkbox item in description via the API".
The example code that @Sofiane Az. indicates he's using the API, not Automation, and as I've mentioned and @Sunny Ape has TESTED, adding/creating action items via API does work.
I guess you could argue that it is "not supported" because Atlassian has not provided documentation, etc.
But that feels a little disingenuous.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Darryl Lee Thank you for sharing your insights and fact-checking the details! I truly appreciate it. That's what makes this community so great—collaborating and learning from each other. 😊 I'll update the answer and guide accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.