How to request an issue's remaining estimate at a past date

Emiliano November 30, 2020

Hi,

For reporting to the company-wide report system we need to request an issue's remaining estimate at a past date using Jira REST API. 

The truth is we seem unable to find an specific request for this. All we get is current remaining estimate, while we need this value at different past dates.

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 30, 2020

That's correct I'm afraid.  The REST API does not have a function for this.  In fact, it has no function for "field was X at time Y" (although the issue search is able to do some searches through the history).

But you do get enough from "show me an issue" that would enable you to work it out.  There are three parts to an issue to look at:

  • Read the original estimate from the issue creation as the baseline
  • Read the changelog from beginning up to your past date.  You're looking for changes of estimates, adding or removing them from the total as you go.
  • Then read the worklogs for the same range of dates - people logging work will have reduced the remaining estimate as they go

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events