Actually, they probably aren't being truncated on "extract", it's likely that whatever you are loading them into is doing it.
However, you've not told us what you're actually doing on "extract" or where the data is going that might be chopping the zeroes off. (For example, Excel will often take a guess that numbers are numbers even when the data it reads is a string)
I have the following
Custom Field Name : Field A
Type : Text Field (single line)
Content : 000123456
When I extract the issue with this detail via export option on the issue navigator, the resulting Excel sheet no longer has the leading zeros and will only show 123456.
Is there some way to prevent this?
It's excel dropping the digits, you need to change that behaviour in excel. From memory, it's something to do with cell formats, but I'm not sure.
If you opened the downloaded file generated by the export in a text editor (it's actually xml, not an excel file), you'll see your leading 0s are all there. It's the import into excel that's trying to be clever and breaking it.
We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG