Howto merge customFieldId over multiple projects

Hello,

We recently started using JIRA for our projects, instead Bugzilla. We imported 5 projects into from Bugzilla into JIRA but did not set a global Field Id for our custom fields, mistake! Now we have for example 5 different customFieldId identifying the same Field, e.g. when I check my custom fields I see 5 times BoardId, with different Id's. They are all text types and now I would like to merge them into a single field ID. How can I easilly do this. I do not want to reimport the projects since we already use these projects for a couple of months within JIRA.

Custom Field CustomFieldID Context #Issues
BoardID 10018 projectA 392
BoardID 10053 projectB 33
BoardID 10113 projectC 14
BoardID 10113 projectD 6
BoardID 10113 projectE 120

They are all Text-type issues and I would like to have them all under 10018 and delete the unused BoardID id's

Is there an easy way to manage this?

Kind regards,

Frank Litjens

3 answers

1 accepted

Problem is perfectly solved via the Script Runner plugin.

I would try to do the following:

- make sure field #10018 is valid for all projects

- add a global workflow transition to the other projects, which copies the value from the "old" fields to field #10018. Transition should not change the issues status, I think (--> target status '-1'), make sure only you can make that transition

- do a bulkedit and move issuesthrough that transition (that will be shown in issues changehistory and lastupdated values)

- make sure the transition was successful, then remove the obsolete fields and the global transition in your workflows.

Hello Jochen,

Thanks for your quick response. Do you mean creating a transition which does not change the state but only copy a value from one field to the other?

Hello Frank,

yes, that is what I wanted to say.

Problem is perfectly solved via the Script Runner plugin.

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 yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

247 views 4 10
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