How to copy custom field value to another same custom field as values?

Teja July 13, 2017

Hi,

I have a multi select custom field named Customer(s) and this cf having almost 400+ customer name and now I have created new field the same type but different label i.e. EA Customer(s).

How should I copy all values from Customer(s) to EA Customer(s) in a shot? instead of copying and pasting one to one.

Any help would be appreciated.

Thanks

1 answer

0 votes
Christoph Schötz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2017

Hi Teju,

how about putting all the data in a separate SQL table and using Kepler custom fields PRO SQL select field? https://marketplace.atlassian.com/plugins/com.keplerrominfo.jira.plugins.keplercf-pro/server/overview

Another way could be to export an issue to html and see if all the possible values are listed, then parse them and try to inject it into the JIRA url for adding customfield values. Or have a look at the REST API if there are any functions. If you often have this kind of issue you might even think about writing an add-on which can do this for you ;)

Does any of my suggestions help?

Cheers

Christoph

Teja July 13, 2017

Hi  Christoph,

Thanks for your reply,

I did not aware of exporting an issue to html and also I dont know anything about REST API. I am new to this Jira community.

Is there any other workaround.

Thanks

Christoph Schötz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2017

Hi Teju, 

Are you using JIRA server or cloud? 

Cheers 

Christoph 

Teja July 14, 2017

Hi,

We are using JIRA server sir.

Christoph Schötz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2017

Hi have you had a look into the jira addon Power Scripts for JIRA? 

I guess https://confluence.cprime.io/display/SIL/getFieldOptions and https://confluence.cprime.io/display/SIL/admAddCustomFieldOption should do pretty much what you need if you use a for loop. 

Good luck and cheers

Christoph 

Suggest an answer

Log in or Sign up to answer