exporting data in Hours/Mins and not seconds
Asked by Danielle David:

Seen some old posts about this, however hoping there is a solution out of the box and not an app.

When export data it exports in seconds not Hours/Mins etc.

I have a work around in the excel, hoping there is a perm solution in JIra


Answers:
author: John Funk
body: Hi Danielle,

I don't know of a way to do it other than creating a custom number field, add an automation rule to do the math (division) and store the value in that field.

comments: author: Danielle David
body: Thanks [@John Funk](/t5/user/viewprofilepage/user-id/7148) , I will give this a go. can you share (without sharing anything data breaching) the automation rule for the math please


author: John Funk
body: Sure, it can be as simple as below.

![Screenshot.png](https://community.atlassian.com/t5/image/serverpage/image-id/346488i9C3A3B8839D687F7/image-dimensions/347x286?v=v2 "Screenshot.png")


author: Hannes Obweger - JXL for Jira
body: Hi [@Danielle David](/t5/user/viewprofilepage/user-id/4577696)

the easiest might be actually be to do the math in Excel, which I assume is your current workaround. Apart from an automation-based solution as suggested by John, the other alternative would indeed be to rely on one of the export-focused apps on the Atlassian Marketplace.

If I may add a concrete recommendation: The time spent format would also be easy to configure in the app that my team and I are working on, [JXL for Jira](https://marketplace.atlassian.com/apps/1224710?hosting=cloud&tab=overview&utm_source=atlassian-community&utm_medium=referral&utm_content=2797638).

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you'd do in e.g. Excel or Google Sheets. It is highly configurable, meaning that you can specify the exact format of e.g. your *time spent* column - and of course, this format is respected in exports. This is how it looks in action:

![time-spent-format.gif](https://community.atlassian.com/t5/image/serverpage/image-id/344595iC4B0677CE977C3C2/image-size/large?v=v2&px=999 "time-spent-format.gif")

I should add that JXL can do much more than the above: From support for configurable *issue hierarchies* , to *issue grouping* by any issue field(s), *sum-ups* , or *conditional formatting*.

Any questions just let me know,

Best,

Hannes


author: Valeriia_Havrylenko_SaaSJet
body: Hi [@Danielle David](/t5/user/viewprofilepage/user-id/4577696) ?  

As [@Aron Gombas _Midori_](/t5/user/viewprofilepage/user-id/502447) said the "time spent" value is stored internally as seconds and is exported without any transformation. Alternatively, ?f you consider installing third-party add-ons to help, you can try [Time in Status](https://marketplace.atlassian.com/apps/1219732?tab=overview&utm_campaign=Comment_exporting-data-in-Hours-Mins-and-not-seconds_20240829&utm_medium=referral&utm_source=Atlassian_Community&hosting=cloud) developed by my team.   

In add-on for exporting data in Hours/Mins simply:

1. Choose right Time Format for you
2. Click Export

![?????? ?????? 2024-08-29 ? 16.00.26.png](https://community.atlassian.com/t5/image/serverpage/image-id/344544iCBC00535ADB2110D/image-size/large?v=v2&px=999 "?????? ?????? 2024-08-29 ? 16.00.26.png")

And here is the data after exporting in an XLSX file.

![?????? ?????? 2024-07-19 ? 16.25.10.png](https://community.atlassian.com/t5/image/serverpage/image-id/336704i466A8CC7C8D1210E/image-size/large?v=v2&px=999 "?????? ?????? 2024-07-19 ? 16.25.10.png")

You can also [book a live demo](https://calendly.com/vitalii_meeting/time-in-status?utm_source=Atlassian_Marketplace&utm_medium=referral&utm_campaign=Button_more-info) - we'll show you the application inside out and answer all your questions.  

Have a nice day ?


author: Aron Gombas _Midori_
body: [@Danielle David](/t5/user/viewprofilepage/user-id/4577696) The "time spent" value is internally stored as seconds, and it is exported "as is", without any transformation -- that is the explanation.

What [@John Funk](/t5/user/viewprofilepage/user-id/7148) suggested would work, at the cost of adding an extra custom field.

You can also use the [Better Excel Exporter](https://marketplace.atlassian.com/apps/1212652/better-excel-exporter-for-jira-xlsx?hosting=cloud&tab=overview) app, which out of the box exports the values in hours ([samples](https://midori-global.com/products/better-excel-exporter-for-jira/cloud/export-samples/jira-issues-excel-reports-with-comments-worklogs-history)). For example, 90 minutes is exported as "1.5".

We decided to prefer this format, because that way you can do arithmetics on the values, like calculating totals, averages, min, max, do sorting and so. And, the unit is the most intuitive one ("hour"), see column "J":

![jira-issues-selected-fields-with-worklogs.png](https://community.atlassian.com/t5/image/serverpage/image-id/344495i807B1FAF9C27EAD1/image-size/large?v=v2&px=999 "jira-issues-selected-fields-with-worklogs.png")

If you don't like it is actually easy to change it to a textual presentation "1h 30m" though!

*(Discl. it is a paid and supported app developed by our team.)*


Tags: cloud

jira-service-management

jira-service-management-cloud