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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,448
Community Members
 
Community Events
177
Community Groups

Need some guidance on using the API

Edited

I'm trying to add a smart checklist to an existing issue using the API. To start, I wanted to pull the checklists from an issue using the API here: Get Checklists . The docs say that I have to provide the issue ID, but I've tried specifying it both using:

https://xxxxx.atlassian.net/rest/railsware/1.0/checklist/{key}

and 

https://xxxxx.atlassian.net/rest/railsware/1.0/checklist?issueKey={key}

and I get a 404 either way. What would be the proper URL to use for this API request?

 

Thank you,

 

Don

3 answers

1 accepted

0 votes
Answer accepted

After some fumbling around, I have been able to add a Smart Checklist to an issue by a PUT to this URL with the SmartChecklist as JSON: 

https;://xxxxx.atlassian.net/rest/api/2/issue/{jiraIssueKey}/properties/com.railsware.SmartChecklist.checklist

Hi Don!

 

Judging from the URL in your example, you are using Jira Cloud version, and Smart Checklist API is available for Jira Server/Data Center versions only. That’s why you get 404. 

For Server/Data Center instances the proper URL of the request would be http://yourdomain.com/rest/railsware/1.0/checklist?issueKey=ABC-1 

 

Hope this helps! 

0 votes

@Don Wilcox,

If API is a crucial feature you need, you might try Issue Checklist Pro or Free.

They both offer integration with Jira API, so you can read or modify the checklist as explained in this guide: https://herocoders.atlassian.net/wiki/spaces/IC/pages/791806047/API+-+read+write+checklist+via+Jira+REST

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events