It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Export 'timespent' field to .csv results in numeric value

Scott Theus Community Leader Sep 13, 2019

I am exporting a set of issues from a filter into a .csv file, In Jira the 'timespent' filed is  correctly as "4 days, 3 hours," but in the .csv file it shows as "97200."

Does anyone know the formula for converting this to hours? 

1 answer

1 accepted

0 votes
Answer accepted

Hello @Scott Theus 

I tried an export in my JIRA, and the timespent seems to be in second in the .csv files. In my issue i have 1minute and in my csv i have 60.

 

You can add a cell with this formula

="cell ref"/86400

And format this cell to time (37:30:55) or whatever you want.

Hope this helps.

Scott Theus Community Leader Sep 13, 2019

Thanks @Mohamed Benziane I was guessing it was in seconds as well. Your formula got me 90% there, it turns out I forgot that my time tracking settings are using a 6 hour day, not an 8 hour day, so when I converted hours to days it was way off. 

Using a 6 hour day got me the last 10%.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

880 views 7 24
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you