Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get story points estimate for a given Issue?

Ioan Bularca March 19, 2020

Hi,

I am developing a Jira chart plugin, I am currenttly stuck at getting the story points estimation of a given Issue.

To be more explicit, I have a list of Issues and I want see the story points estimation for each of them. There is a function Issue.getEstimate() but it returns me null even for the estimated Issues. Can someone help me please?

I am using Java API.

 

Thank you

1 answer

0 votes
George Georgakopoulos [Nimaworks]
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!
September 11, 2020

Seems that you will have to retrieve this info using customField.getValue(issue).

In groovy you can use 

ComponentAccessor.getCustomFieldManager().getCustomFieldObjectsByName("Story Points").first().getValue(issue) 

but you can use customfield id if you have many fields named Story Points.

 

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events