Hi Carlos,
Confusingly, there are actually two methods of importing csv data into JIRA.
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
- Perform a search with the required filters to produce a list of issues.
- Select Tools > Bulk Change.
- Select the issues you'd like to perform the bulk operation on, and select Next.
- Select Transition Issues, and select Next.
- Select the available workflow action. The actions available are dependent on the issues (and their associated workflows) that you have selected. Select Next.
- Select a value for any required fields for this transition, and if available, decide whether you'd like to send email notifications. Select Next.
- 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Sam,
This works, thank you!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CSV import can be be used to update issue status, if you:
JIRA will recognise this, and update existing issues matching the Issue Key from the CSV file.
issue-key-mapping-csv-import.jpg
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sam, I'm also trying to do something like this. We have a Key ID field set in each issue opened in Jira. I tried setting that as the mapped field. However, instead of updating, it creates a new delta which is duplicated. Can you offer guidance as to what's wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dan Brewerton - I was also struggling with this. It has to be done from Settings > System > External System Import > CSV
Then you will have the option to map to IssueKey which is under the Issue Fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From my research, that is a Administrator level function.
"Under JIRA Administration > System. Under IMPORT & EXPORT > External System Import select Import from Comma-separated Values (CSV). This wizard includes the 'Issue Key' in the field selection [drop down]."
https://community.atlassian.com/t5/Jira-questions/How-do-I-update-existing-issues-using-the-CSV-importer-for-JIRA/qaq-p/22870
Key issue would be the unique field you want to key off of to ensure the issue exists. But it must be some numeric value that is unique that exists also in the CSV. In our case, we have a SysID field that exists in the csv as well as in Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sam, I'm also trying to use a field in my CSV file to help Jira determine if it needs to add or update. I presume this is how we do it. The problem is even with the field mapped, it creates a new issue with duplicated information. What am I doing wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.