Custom Field Context


Thanks in advance.

Would like to know the best way to switch context for a project in a custom field.

At the same time, Data Loss would be a critical issue.

1 answer

0 votes

Changing the context of a custom field in an existing project is expected to have the ability cause data loss on that field.    I would recommend taking a look at Change Context for an Existing Custom Field Without Losing Old Data

That KB explains how you can create an entirely new context for the same custom field to use in a new different project.   That does work for creating a new context for the custom field  However from your request it sounds like you want to change the context for this existing project.

I think you would need to find a way to backup/copy that data in those fields before you make this context change.   That KB does have a set of steps where you can search for issues that have each specific value in that custom field context, from there you can then use the bulk change in JIRA in order to update another custom field that is setup with the same settings as the old custom field context.  From that point it could be feasible to keep that custom field data duplicated in this new temp field for now.

The problem I see with this method is that if your existing context has a lot of different options, these steps will take a very long time to complete as you have to repeat this search/bulk update for each option in the list.  If you only have about 5 or less it's certainly managable, but if the custom field say has 20 or more options, it becomes tedious to do this manually.

I would also recommend Establishing Staging Server Environments for JIRA - Atlassian Documentation in order to test out this kind of change so that you can test this on a backup instance before trying this change in a production environment.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,385 views 17 10
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