Now I am writing a Confluence plugin, it needs Jira issue data such as a custom field value which is a checklist. For now I can use Jira rest api /rest/api/latest/issue/(issueID) to get all the other data. but for the checklist it only shows all value without check status.
Hello @winter wong
Thank you for reaching out.
I understand that you have a Checkbox custom field configured in your Jira instance and you would like to return all the values flagged in this field for a specific Issue. Is it correct?
Could you please provide us which is the version of JIRA you are currently using?
Supposing you are using one of the latest version of JIRA (8.2 or above), the following REST API should return you the issue together with ONLY the flagged options of the custom field for that specific issue:
You can use the following documentation for reference, selecting the version of your JIRA Application:
Let me know if it works for you.
Hello @Petter Gonçalves ,
thanks for your support, our Jira version is 7.6.3. I am using /rest/api/2/search?jql=type=Initiative&fields=customfield_id, from this I get all checklist value instead of only the flagged value or all value with check status. It just shows all the value even no value is flagged.
So the only way to get checklist flagged value is to upgrade our Jira to 8.2 and above, right?
Hello, @winter wong
Thank you for your reply.
I have installed in my machine the JIRA application 7.6.3, however, running the same call as you did, I'm still getting only the selected options for my Checkbox custom field.
I see that you are using Initiative issue types, that are related to Portfolio app. Is it correct?
In order to troubleshoot your issue, can you please provide us a screenshot displaying the type of custom field configured for your task and check if the same problem occurs for JIRA default issues (Tasks, bugs, etc)?
Hi @Petter Gonçalves ,
they said that the REST API has been integrated since Version 4. Previous versions returns very basic information. Version 4 also has custom configurable Statuses, better workflow post-function, etc.
So upgrade the version to 4. or later, this issue would not exist.
Learn how to use two new reports for next-gen projects in Jira Cloud: Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events