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

Bulk Create Custom Fields

Junaid Shah
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.
March 26, 2015

Hi,

Is there a possible way of bulk creating custom fields perhaps through a XML or Excel document?

I've got to create around 500 unique custom fields for a project and would save a lot of time if this is available.

Thanks

4 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
SimoneK March 28, 2015

You could create the custom fields by using a Jelly script. We did this for a lot of fields and it looked like this:

<!-- textfield_SolutionID -->
    <jira:CreateCustomField fieldType="textfield" fieldScope="issuetypes" fieldName="Solution ID" issueTypes="Bug"
        searcher="textsearcher" customFieldIdVar="textfield_SolutionID" />
    <!-- multiselect_OS -->
    <jira:CreateCustomField fieldType="multiselect" fieldScope="issuetypes" fieldName="OS" issueTypes="Bug"
        description="Operational system" searcher="multiselectsearcher" customFieldIdVar="multiselect_OS" >
        <jira:AddCustomFieldSelectValue value="OS independant" />
        <jira:AddCustomFieldSelectValue value="Win 32*" />
        <jira:AddCustomFieldSelectValue value="Win XP*" />
        <jira:AddCustomFieldSelectValue value="Linux" />
        <jira:AddCustomFieldSelectValue value="MacOS X" />
    </jira:CreateCustomField>

See here: https://confluence.atlassian.com/display/JIRA062/Jelly+Tags#JellyTags-jira:CreateCustomField

But be cautious - lots of custom fields can affect the performance.

Cheers,
Simone

0 votes
Mohit Bansal March 18, 2019

Hii!!

With Salesforce Bulk Field Creation App, user can create up to 500 fields of different field types, in duration of 10-15 min, in a single go.  BulkObjectFieldCreator_2018.jpg

For free trial off app visit -  https://appexchange.salesforce.com/appxlistingdetail?listingId=a0N30000000qDqqEAE

0 votes
GabrielleJ
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.
March 27, 2015

500 Custom Fields for a project does not sound right. You may want to rethink your approach on this. May we know what is the 500 Custom Fields are for?

0 votes
Dmitrii Apanasevich
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.
March 26, 2015

Suppose that such way exists. In that case you'll need to spend lot of time preparing XML or excel file. Am i wrong?

Junaid Shah
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.
March 26, 2015

I have the custom fields I need in an excel sheet already. with their type, values, and field names.

Dmitrii Apanasevich
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.
March 27, 2015

Ok. As I know there are no custom fields for project, JRA-1991 is still unresolved. Can you explain in details what do you mean when you say "create around 500 unique custom fields for a project" ? Do you need to create custom fields in a project context?

Jobin Kuruvilla [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.
March 27, 2015

Before you go too far, my recommendation would be to not do it. 500 custom fields for a project doesn't sound right. It can push you in to a maintenance horror and can have performance implications in the long run. You might want to revisit the business requirement and look for alternate solutions!

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events