Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Migrating Values of a Custom Field

We have a custom field whose underlying stored values are JSON strings.  We would like to migrate the values of the field across the instance after a plugin update to a new format to enable new functionality.  We are wondering what the best way to run this field value migration.   We are considering

- Migrating fields on a ticket in the custom field logic, as they are accessed on the instance.

- Using the PluginScheduler to run this as a job at some future time after plugin install.

- Building the migration into the Indexing job.

I think an indexer based approach might be best, because it is simple to instruct an admin to reindex after a plugin update to make sure everything is up to date.  However, I'm concerned that using reindex jobs for purposes not directly related to indexing may have unexpected side effects.

Has anyone had to do a similar sort of value migration?  How did you approach it and what were the takeaways?

0 answers

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you