Forums

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

Export value of custom field in excel is not correct

AnupamS June 26, 2020

Hi community,

 

I have a custom field that stores value and is part of a big plugin we have.

 

We have identified that while exporting the issue values with the custom field (from plugin), the value it displays in excel is the auto Id of the row from DB and not actual value.

 

In UI it looks perfect.

 

Any advise on how to manipulate the exported value so that it shows the actual value from db and not the id of that row in table?

 

Anupam

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 27, 2020

Your custom field type plugin has a bug - it's returning the field id instead of the content in the template used for export.  See https://developer.atlassian.com/server/jira/platform/creating-a-custom-field-in-jira/ for where to correct it.

AnupamS June 29, 2020

Thank you @Nic Brough -Adaptavist-  . What I am struggling with is identifying where do I define the value to be exported. Any quick guesses??

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2020

Suggest an answer

Log in or Sign up to answer