I try to get remaining estimate field value of certain issues.
But it gives me false data (in milliseconds)
why?
----------------------------
import com.atlassian.jira.issue.IssueManager
import com.atlassian.jira.component.ComponentAccessor
def issueInput = "foo-19852"
IssueManager issueManager = ComponentAccessor.getIssueManager()
def issue = issueManager.getIssueObject(issueInput)
def issueId = issue.getId()
def remainingEstimate = issue.getEstimate()
log.debug("remainingEstimate: ${remainingEstimate}")
----------------------
output:
remainingEstimate: 288000
---------------------
The actual remaining for this issue is: 2w