Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

unable to bulk update sub-task for task using csv import

akshaybhange August 11, 2024

I am trying to update the sub-tasks created for the task using csv file via admin panel. 

I've tried multiple variations with issue key, issue id, parent. 

I get following error : 

"while updating issues have been skipped because they already exist in destination projects."

 

In Jira settings --> System --> Import and Export --> External System Import

my CSV headers are: 

Issue key, Summary, Issue Type, Parent, Issue id, & some custom fields

2 answers

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
August 12, 2024

Hi @akshaybhange -- Welcome to the Atlassian Community!

What type of project is this: company-managed or team-managed?  You may find that information in the project list or at the bottom-left of the page expanding area when viewing the project.

 

There is a known defect for team-managed projects where sub-tasks cannot be updated using a CSV import.  You may watch / vote for this defect to see progress: https://jira.atlassian.com/browse/JRACLOUD-81917

 

Kind regards,
Bill

akshaybhange August 12, 2024

Hi @Bill Sheboy , 

I checked the project, I don't see "team managed" text on the left sidebar, I guess my project is company managed. 


https://support.atlassian.com/jira-service-management-cloud/docs/how-can-i-tell-if-im-in-a-classic-and-next-gen-project/

akshaybhange August 15, 2024

Thanks, I noticed It is a team managed project. 

Like • Bill Sheboy likes this
0 votes
John Funk
Community Champion
August 11, 2024

Hi @akshaybhange  - Welcome to the Atlassian Community!

Can you share the header row of your spreadsheet CSV? 

akshaybhange August 12, 2024

my CSV headers are: 

Issue key, Summary, Issue Type, Parent, Issue id, & some custom fields

John Funk
Community Champion
August 12, 2024

Very good - thank you. Now, what are you trying to update for the Sub-task? 

akshaybhange August 12, 2024

I'm trying to update some of the custom fields I have created for sub-tasks. 

John Funk
Community Champion
August 12, 2024

Okay - you shouldn't need the parent if you are just updating field for the Sub-task. 

Put the key of the sub-task in the Issue Key field. Leave off the Issue ID and Parent fields - you should not need them. 

 

akshaybhange August 12, 2024

got an error, 

"None issues and projects imported.
Issue can't be created as issue type is sub-task but parent issue key or id is not specified"


Sample CSV : Screenshot 2024-08-12 182035.png
Issue key, Summary, Issue Type, custom field
KAN-2, SubtaskSummary, Subtask, customValue
John Funk
Community Champion
August 12, 2024

Oh, sorry, yes you do not need the Issue Type field either since these are just updates and not creates. 

akshaybhange August 12, 2024

@John Funk didn't work 

got another error :

 

"Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state: Failed to remove subtasks [KAN-2] parents. A parent of a subtask cannot be removed."
akshaybhange August 12, 2024

should I be using issue ID instead of Issue key.

John Funk
Community Champion
August 12, 2024

No, Issue Key is correct. Maybe it thinks you are clearing the Parent field for some reason since it is not mapped. So I try adding the Parent  column in with the existing value of the Key for the parent. 

akshaybhange August 12, 2024

Got 2 issues here. if I add parent id (for eg. 10000) it is asking for issueID & Issue Type. 

If I provide both of these then it'll skip the issues. 
Feels like a loop :(

Screenshot 2024-08-12 191751.png

John Funk
Community Champion
August 12, 2024

The Parent should be a Key like ABC=123, not the ID. 

Can you post a screenshot of the first row of your CSV, along with the header row?

Also, can you post a screenshot of the mappings in the import tool?

akshaybhange August 13, 2024

CSV: 

Issue key,Parent,Summary,Order ID,SIL SKU,Qty,Product Desc,Order Status,Courier,AWB Number,Dispatch Date,Delivered to,Delivery date
KAN-2,KAN-1,Proper Sub Task 1,1,NUPI - 1,1,Apple Iphone,Delivered,Bluedart,12345678,15-Jul-24,Person 1,18-Jul-24


Mappings: I've not included some of the custom fields which are not relevant: 

Screenshot 2024-08-13 124726.png

akshaybhange August 14, 2024

@John Funk what could be the issue ?

 

John Funk
Community Champion
August 14, 2024

I don't know. I am seeing a lot of questions in Community the last few days about CSV import problems. I suggest you open a support ticket with Atlassian to see what they say. 

https://support.atlassian.com/contact/#/

Please post back here with the resolution in case someone else is having the same problem.

Good luck!

akshaybhange August 15, 2024

@John Funk , thanks a lot for the help. 

I found out the project was team managed, and as @Bill Sheboy mentioned, it's a known bug. I've created another company-managed board and CSV upload is working in it. 

 

Like • John Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events