Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Jira Automation JSON for ticking checkbox on an existing Checklist

Mattrix
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 28, 2023

I can successfully add a new custom Checklist to an issue with Jira Automation using this JSON:

{
     “Fields”: {
               “Checklist type”: [
                    {“name”: “item1”},
                    {“name”: “item2”}
               ]
     }
}

What I'm struggling with is the JSON to edit (tick) any one of these checkbox items.

Can anyone please help to advise (thanks).

1 answer

1 vote
Maxime Lefebvre _Okapya_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 28, 2023

Hi @Mattrix

I'm guessing you are using our app Checklist for Jira and I will provide the necessary information for it.

In version 7, we've added an Edit Checklist automation action that you could use to check existing items. If you don't have version 7, you can take a look at our documentation how to update existing items using Automation and REST API.

If your goal is not to update existing items, but rather overwrite the checklist with items that are already checked, simply add the following in your payload:

“Checklist type”: [
    { "name": "item1", checked: true },
    { "name": "item2", checked: false }

Here's documentation of all available JSON properties.

Let me know if this helps!
Maxime

Mattrix
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Dec 03, 2023

Thank-you, Maxime, and apologies for the delay in responding

Suggest an answer

Log in or Sign up to answer