Updating status with a CSV file

I'm trying to update the status of my issues using a cvs file, but when mapping I can't find "status" on the dropdown menu, is there anything that I or my project manager should be doing before? 

3 answers

1 accepted

5 votes
Accepted answer

Hi Carlos,

Confusingly, there are actually two methods of importing csv data into JIRA.

  • Method One: The "Import issues from CSV" option under "Issues" in the top-menu.

    This is available to all users and is designed for bulk issue creation. Because of this, Atlassian have limited some of the options available here. Mapping/importing Status is one of this things they don't allow here, all issues created via this method just go to the first status in the issue's workflow.
     
  • Method Two: Pick 'CSV' from Administration > System > External System Import

    This one is available to admin users only, but is more flexible (it's designed for general migration/import). The one does allow you to map/import Status.

I'm guessing you're not able to map status because you are using method one?

Another option to update issue statuses in bulk is to use JIRA's 'Bulk Change' function:

bulk-change.jpg

There's some help from Atlassian here: https://confluence.atlassian.com/jirasoftwarecloud/editing-multiple-issues-at-the-same-time-776997757.html

  How to transition multiple issues

  1. Perform a search with the required filters to produce a list of issues.
  2. Select Tools > Bulk Change.
  3. Select the issues you'd like to perform the bulk operation on, and select Next.
  4. Select Transition Issues, and select Next.
  5. Select the available workflow action. The actions available are dependent on the issues (and their associated workflows) that you have selected. Select Next.
  6. Select a value for any required fields for this transition, and if available, decide whether you'd like to send email notifications. Select Next.
  7. Review your bulk operation, and select Confirm when you are happy with the operation.

I hope this helps.

Sam

Hi Carlos,

No problem. If my answers were helpful, please consider upvoting or accepting one.

Here is a screen shot of where to find the administration menu. You need to be JIRA admin to see this, though:

jira-admin-menu.jpg

Sam

If you have JIRA admin access, when you click 'System', you'll be taken to a screen like this, where you can get to the External System Import function:

jira-admin-system-screen.jpg

 

Thank you Sam,

 

This works, thank you!!

 

CSV import can be be used to update issue status, if you:

  • include a column with the issue key(s) you want to update in your CSV
  • import it via Administration > System > External System Import (admin rights needed).
  • map the key in your CSV to the 'Issue Key' JIRA field.

JIRA will recognise this, and update existing issues matching the Issue Key from the CSV file.

issue-key-mapping-csv-import.jpg

Sam

Hi Sam!

Thank you very much for helping me and correcting my mistake. I've deleted my misunderstanding comment.

Do you know what happens with states? I suppose transitions are not executed, aren't they? And only a change of value is executed.

Best regards and thanks!

Yep, it just changes the value. It's a good question, because you do have to be a cautious of difficulties related to this.

For example: if you use CSV update to change to a status that would normally set a resolution on the issue, it might not work as expected. Status would be updated, but resolution would not be set.

Sam

Thank you very much Sam! You're lovely!

Hi Sam,

I am doing a similar exercise here, and I can update the "date created" field okay, but it won't update the "date resolved" for me. Any ideas?

(I'm trying to add some historical info to Jira for metrics.)

Sharon

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,874 views 19 22
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you