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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,187
Community Members
 
Community Events
184
Community Groups

How to migrate data from issue custom field to another custom field

Hi team,

How to migrate data from one issue custom field to another custom field on a same issue.

We are planning to change custom field type from single user picker to multi user picker. 

So in this case i have to create a new custom field and migrate date from old to new custom field

2 answers

1 accepted

2 votes
Answer accepted
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 24, 2022

Hi @Saqib Dar 

There is couple of way to do it, it will depend on the volume of issue you have.

You can export the issue then import them back by mapping the old field values with the new one.

You can also use apps such Scriptrunner which have a built-in script that copy field values from one field to another.

If there is not much option in the field you can do a JQL for each option then update them an set the new field values.

 

Regards 

@Florian Bonniec Thanks for your response the most easiet way is to do through scriptrunner

@Saqib Dar , @Florian Bonniec  I tried SR for Jira but the target doesn't have options. I have a version picker CF and I need to move the versions from this CF to Affects Version/s(System Field).

Any idea or any other options?

Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 22, 2023

Hi @Nir_K 

Version should exist in teh target project. As long as they have the same name it should be able to map them.

 

If it's not the case Import/Export should work or a SR script that for each version get the equivalent version on the target version.

 

Regards

1 vote
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 24, 2022

@Saqib Dar -

The simplest way just using out of the box functionality are the following -

1) Export your existing issues where the original field is populated into a csv file.  The csv file for the custom field should contain the single user field value.

2) Add your new multi-user picker field for the affected project(s).

3) Use your csv file generated in step 1 as a base to conduct external system import back into your env.  This time the original single user field column will serve as the import field for your new custom fields.  Take a look at this link in regards to External System Import process to update your existing issues.  NOTE - You need to map the issue key during the import process to populate the new field.  https://confluence.atlassian.com/adminjiraserver/importing-data-from-csv-938847533.html

4) Validate the outcome.  Once the validation is completed, then you can just remove the original field from your affected project(s).

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events