Is it possible to update the values of a custom field in bulk?
Asked by Lucas Darlim Rodrigues Silva:

Hello, I need help with a JIRA feature, I would like to know if it is possible to import several values from a custom field in bulk, for example, I need to update several school names in the "Schools" field and I would like to do this in bulk, is it possible? I thank you for your attention!


Answers:
author: Fernando Eug?nio da Silva
body: [@Lucas Darlim Rodrigues Silva](/t5/user/viewprofilepage/user-id/5538914) , Welcome to the Atlassian Community!

You can operate this making an import csv to Jira.

Basically what you need is to do the following:

* Create an issue dump in Jira to use to import the values in bulk
* Create a CSV file with the following columns:
  * Issue Key \> Use the Key from your created issue dump
  * Issue Summary \> Summary of your created issue
  * Field name \> 'Schools'

For each value in the Schools field you will map the same Issue Key and Issue Summary from your issue dump. The only thing that will change in the rows is the value of the 'Schools' field. See example

![Screenshot_184.png](https://community.atlassian.com/t5/image/serverpage/image-id/334492iFFDC9B5992B422B6/image-size/large?v=v2&px=999 "Screenshot_184.png")

After that, simply import the CSV file into Jira mapping each column to its respective field.

Issue Key Column \> Issue Key Field  
Summary Column \> Summary Field  
Schools Column \> Schools Field

For each issue line, even if repeated, Jira will run a field update event. With each execution, the new value found will be automatically defined as a field list option

Hope this helps you :)

Kind regards,

Fernando

comments: author: Lucas Darlim Rodrigues Silva
body: Hello [@Fernando Eug?nio da Silva](/t5/user/viewprofilepage/user-id/4606715), thank you very much for responding.

Can you tell me the way to do this procedure?

After mapping the updated values ??of the school field, will the old values ??be replaced?

![Campo Escola JIRA.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/334652i20A8A94D9D1F71F4/image-size/large?v=v2&px=999 "Campo Escola JIRA.JPG")

I tried to do the mapping but got this result, can you help me with this process?


author: Fernando Eug?nio da Silva
body: [@Lucas Darlim Rodrigues Silva](/t5/user/viewprofilepage/user-id/5538914) ,

This process only works to add new values in a select choice field. The current values will not be affected.

Regarding your error, could you share some details like:

Which type is the field you want to update?

Some sample values of your new values to be updated in the field.


author: Lucas Darlim Rodrigues Silva
body: [@Fernando Eug?nio da Silva](/t5/user/viewprofilepage/user-id/4606715)

The custom field I'm editing is of the select list type (single choice), which has several names of registered schools, basically, I need to add a satisfaction classifier from A to D at the end of each name, for example, Test School A, but as there are many names, I'm looking for a way to import all the names already with the classified ones and replace the old names, You can?

![Campo Escola JIRA 2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/334948i4D23E2C4CFAB7568/image-size/large?v=v2&px=999 "Campo Escola JIRA 2.JPG")![Campo Escola JIRA 1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/334949iD41C9BF924CD8C5A/image-size/large?v=v2&px=999 "Campo Escola JIRA 1.JPG")


author: Fernando Eug?nio da Silva
body: [@Lucas Darlim Rodrigues Silva](/t5/user/viewprofilepage/user-id/5538914) , Got it!

To update existing values, import CSV will not really work. It only works to create new values ??in bulk.

If you want to update multiple values ??in series, you might want to use the Jira API to operate this along with your CSV support. However, this will require a little knowledge about the API. The format to be used would be this: [The Jira Cloud platform REST API (atlassian.com)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options/#api-rest-api-3-field-fieldid-context-contextid-option-put)

CSV Import didn't work to update existing values in select fields, just to create new values.


Tags: cloud

jira-cloud