Update some fields in existing JIRA issues with CSV import without all fields in import?

Matt Ransford March 24, 2014

Is it possible to update existing JIRA issues using a CSV import without all the data fields in the exisiting issues in the CSV and without having the existing fields overwritten if they're not specified? The documentation for 6.2 says:

(warning) Importing a CSV to update existing issues will reset columns to their default values if they are not specified in the CSV.

Here's the use case: I want to have a series of QA issues worked on internally that can be exported to XLS to show to a client. I want the client to add feedback to a column in the XLS corresponding to a client feedback field in the JIRA issues. I want to import that XLS via CSV back into the existing issues in JIRA, but without the other field data in the CSV because it will have changed over time in JIRA as the internal team works through the issues. I only want to add the client feedback by key and nothing else (and this feedback field would not be modified in the interim).

Is this possible? Thanks in advance!

5 answers

1 accepted

0 votes
Answer accepted
Boris Georgiev _Appfire_
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 25, 2014

You can write a script which will update only the required fields through JIRA REST API https://docs.atlassian.com/jira/REST/latest/#d2e3550, using the CSV file to get the values for the feedback

1 vote
tom May 18, 2016

why is it you cannot update a single field for a bunch of issues when there is a unique identifier (key), why is it you need to provide every field including the ones you dont want updated? when, if using an sql database with management studio i could simply update a single column (field)?

I understand this is not exactly the same but i dont understand why if the fields are not present in the csv update that the issue retains its current values for those fields?

Sam Hall
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.
April 12, 2017

This works for me. Perhaps the import functionality has been improved since this original 2014 thread.

I do CSV import with 3 columns:

  • Issue Key (mapped to issue key in JIRA, to ensure issues are updated rather than created as new)
  • Summary (required by the import process)
  • Field I want to update

Importing this using Admin > External System Import results in only that one field (and the Summary, if changed) being updated. Fields not included in the import file are unaffacted.

 

Francisco Morgado Gonzalez April 16, 2019

Thanks 


I do CSV import with 3 columns:

Issue Key (mapped to issue key in JIRA, to ensure issues are updated rather than created as new)
Summary (required by the import process)
Field I want to update

 

The update was successful !

(We use Jira v7.12.1)

1 vote
Bob Swift OSS (Bob Swift Atlassian Apps)
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, 2014

JIRA Command Line Interface has runFromCsv that will construct actions based on CSV data. Specifically, you can run updateIssue.

0 votes
Carrie Hanna February 18, 2020

Hello. Does this work with custom fields?

Corey Needham April 20, 2020

Hi @Carrie Hanna,
I just came across this thread and tested it and can confirm that it works perfectly with custom fields

Carrie Hanna April 21, 2020

Hi @Corey Needham 
Thanks! :)

0 votes
Matt Ransford April 13, 2014

Thank you both!

Suggest an answer

Log in or Sign up to answer