Need some guidance on using the API

Don Wilcox
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!
April 1, 2022

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
Don Wilcox
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!
October 27, 2022

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

1 vote
Julia Romanenkova_Railsware_ April 7, 2022

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
Jack Hunter _HeroCoders_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
April 8, 2022

@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
AUG Leaders

Atlassian Community Events