Deleting a custom field (consequences)

Hi

I have tens of custom fields on my jira instance which i no longer need. Some of them however, have some data in it.

Now, i want to get rid of those custom fields as the data in them are no longer required.

My questions are

1. If i delete a custom field which has data in them, what is the consequence on the issues which used those custom fields. Will they throw any errors?

2. What is the consequence on the database? Is there a possibility of causing an irreversible damage to the database which might cause a threat to me in future upgrades?

3. What about deleting custom fields which were created by a plugin which i had installed sometime in past but no longer use it?

Rahul

1 answer

1 accepted

2 votes

1. No, as long as you do it with the UI.

2. No impact really, as long as you delete via the UI. Just make sure that you allow some time to run it - if you have lots of issues, it can thrash while the deletion of data happens

3. To do that safely, you usually have to put the plugin back, then you can delete via the UI as above.

Note that I've said "use the UI" on all three of these. That includes the script runner or plugins that do the work, but NOT SQL. If you try this with SQL, then the answers include high risk of corruption, error and data-loss.

Nic, I have a field Bugzilla Id (type: import id). This field was created automatically when i migrated bugzilla-> Jira using the importer.

Now am i right in assuming that there will be no impact in deleting such custom fields which got created during imports from other issue trackers?

Hi,

and how we can idetify if deleted custom fields haven't been used in some tasks, but now we are using newer one. Or in other words, how we can prevent from losing a data related from deleted custom fields, but delete the custom field itself.

You can't. If you delete a custom field, the data for it goes. You'll see changes to it in the issue history, but the data will be gone.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,277 views 14 20
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot