You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi!
Today I would like to share a possible way to migrate or merge a custom field during a periodical cleanup.
Possible ways are built-in functionality of Scriptrunner or myGroovy, own code and own yet another alternative way for the complicated situation.
Also,you can follow with next typical steps of cleanup process:
This is my typical process for the cleanup activity.
As an example, let’s do the next real case with screenshots.
Goal:
Migrate from the Production environment field to Products field. Both fields are pickers.
Where some of options are the same, if you see the small differences, you can change if both need to be merged.
Then under super user which has access to all related projects, create filters with related tickets.
Then I saved the filter with name test_ .
After visiting the Scriptrunner built-in scripts to copy custom fields values.
After verify via preview and run.
Hooray we merged.
After using the new feature (https://jira.atlassian.com/browse/JRASERVER-41269) from 8.11.0, we can adjust the private filters via gui, if it’s needed. And public stuff as well via gui.
Gonchik Tsymzhitov
Community LeaderSolution architect | DevOps
Atlassian Community
Russia, St. Petersburg
133 accepted answers
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
2 comments