The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

issue.fields.timeestimate returns most results in seconds, one result in minutes

Deleted user
June 1, 2020

I'm writing a simple time analysis script, and hitting an anomalous result.  When I query the value for issue.fields.timeestimate, I get a value in seconds for almost every issue in my query except one, which returns a value in minutes.  I can't find anything unusual about that issue.  Can anyone help me understand why one issue might be reporting differently?

Code (python 3.7):

issues = jira.search_issues(open_cases_JQL)

for issue in issues:
print (issue.key, issue.fields.timeestimate)

Results:

IRR-12 3600
IRD-24 3600
IRD-19 1170
IRC-124 3600
IRC-115 234000

Time estimate value in text from each issue:

IRR-12: 1h
IRD-24: 1h
IRD-19: 2d 3h 30m
IRC-124: 1h
IRC-115: 1w 3d 1h

IRD-19: 2d 3h 30m = 19h 30m = 1,170m = 70,200s

IRD-24: 1h = 60m = 3,600s

Why am I getting a value in seconds for one, and a value in minutes for another?

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events