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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

182 views 0 2
Read article

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