In a Jira issue, there are some items in Details:
I want to get the Story point estimate data from API, tried this one:
But didn’t find the item. Which API can I get the data?
In a Jira issue, there are some items in Details:
I want to get the Story point estimate data from API, tried this one:
But didn’t find the item. Which API can I get the data?
Welcome to the Atlassian developer community @SeikyoCho,
I recommend get issue estimation from board using GET /rest/agile/1.0/issue/{issueIdOrKey}/estimation
. This automatically handles the configuration for story points or hours and the mapping into specific a custom field.
Hi @ibuchanan
Thank you.
I tried
https://[MY_DOMAIN].atlassian.net/rest/agile/1.0/issue/[MY_ISSUE_ID]/estimation
But got an error:
{
"errorMessages": [
"A board ID must be specified"
],
"errors": {}
}
Sorry, it seems the docs aren’t completely accurate for this endpoint. The query parameter boardId
seems to be required, even though the docs don’t mention it.
Can you try, GET /rest/agile/1.0/issue/{issueIdOrKey}/estimation?boardId={boardId}
Hi @ibuchanan
Thank you very much.
It works now!