Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

creating multiple custom fields with same value

rbalamu2
Contributor
May 18, 2022

Hi Team,
I have 34 custom fields with unique names but the values/options of 34 fields are same. 
Is there a way, where I can have a template kind of thing which I can use to create these fields? 

Note: Field name is alone different but field values are same.

Kindly help

2 answers

1 vote
Nic Brough -Adaptavist-
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.
May 18, 2022

I'm afraid there is no simple way to do this, it's an unusual thing to do, and hence no-one has written any code to do it. 

(It's unusual because it sounds like the data structure is the wrong way around, and you probably shouldn't be using 34 fields, but obviously, I can't say that is the case without knowing what you're trying to represent with the data)

 

If you are an admin, I think the CSV import may allow you to work-around this - create a spreadsheet with one line per value you want to import, and 35 columns, such that:

Summary  Field name 1  Field name 2  Field name 3  etc 
option 1  option 1  option 1  option 1  option 1 
option 2  option 2  option 2  option 2  option 2
etc        
         

If you import that into a temporary project, you can tell it to import the options for the fields into them.  (Obviously, you'll need to create the temporary project, and the 34 select lists, but you won't need to type in all the options)

Chasovskikh Kirill
Contributor
February 2, 2024

Hi @Nic Brough -Adaptavist- !

It's unusual because it sounds like the data structure is the wrong way around, and you probably shouldn't be using 34 fields, but obviously, I can't say that is the case without knowing what you're trying to represent with the data

I'm also trying to find a solution and have an example.

We have some finance projects with currency fields such as 'Invoice currency', 'Debt currency', 'Payment currency', etc. There might be a situation where multiple fields are used in one task.

 

Nic Brough -Adaptavist-
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.
February 2, 2024

The CSV specifies multiple fields, so I'm not sure what you are asking about?

Chasovskikh Kirill
Contributor
February 3, 2024

This workaround works for me, thanks. Just explaining the example of  usage.

0 votes
rbalamu2
Contributor
May 18, 2022

Hi @Nic Brough -Adaptavist- ,
Below is my csv sheet.
field.PNG

I have a test project. 
I tried creating 'Select List (single choice)' Field with name to match the name from CSV (WPCL01:Rahini field1) but it is not allowing me to create this field with choosing the options. Kindly help!

Nic Brough -Adaptavist-
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.
May 18, 2022

Oh, yes, it does that now.  You'll need to add one option to get started.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events