Forums

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

How to appear the values of a deleted custom field?

Tsol
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.
April 3, 2012

Hi everybody,

in a issue type i had created a text custom field. The custom field was deleted. Is there any way to have again the values in the view issue screen?

Thanks in advance

1 answer

1 accepted

1 vote
Answer accepted
Dieter
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.
April 3, 2012
When you delete a custom field the associated custom field values are also deleted. Definitely! Hopefully you have made a XML backup or a native database backup and can restore that. If yes and you are safe in SQL you can try to transfer the missing rows from table customfieldvalue in the restored backup into the existing database. Things would get a lot more complicated if your fields were option valued fields like select lists since that would mean you would have to recreate the options in table customfieldoption as well and create the right option value in attribute stringvalue of customfieldvalue.
Dieter
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.
April 3, 2012
Just noticed, that it was just a text field, so your chances are not that bad and you cna get that fixed by transferring the customfieldvalue rows matching your custom field id xxxxx. You can get these using: select * from customfieldvalue where customfield = xxxxxx in your redtored database
Tsol
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.
April 4, 2012

i'll try that. Hope it works

Thanx

Dieter
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.
April 4, 2012

try it on a copy of your productive system first ;-)

Tsol
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.
April 4, 2012

yeap, i'll try it in a test instance.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events