Using Import CSV to update fields erased the Parent field

Kathy Hart July 15, 2024

I was working with a team-managed Work Management project and needed to copy the data from the Category field (team-managed field) to an actual Jira Custom Field.

To do this I exported the affected tickets to a csv using only

  • Issue Key
  • Summary
  • Category

I modified the name of the Category column to be the name of the new field and proceeded to do a CSV import using Issue Key as the mapping field. 

I was not trying to alter the Parent field at all, so I did not include it in the export or the import. The import file consisted only of those three fields. 

After the import the new custom field was populated correctly, HOWEVER the parent field for all issues was deleted. All Epic links were removed. 

I cannot find anything in the documentation that would indicate this is expected. The documentation, as far as I can see, does not REQUIRE the Parent field to be part of an updated import. 

Has anyone else experienced this? Is this because it was a team-managed project? Or because it was a Work Management project? 

When trying to correct the problem, I tried to use a JQL WAS statement to find what the Parent of each issue was before the update, but WAS is not an allowed function to use with the Parent field. I ended up having to look at the history of each ticket, find the Parent ID and update manually. 

Was there an easier way to go about finding and fixing the Parent field after the damage was done? 

1 answer

1 accepted

1 vote
Answer accepted
Kathy Hart July 18, 2024

Turns out this is a known bug. JRACLOUD-81919 - Updating any field in Team-Managed projects using the CSV import causes the Epic link between Epics and other issue types to be broken 

And due to this feature not being implemented yet, it would not have helped if I put the parent field in the csv file: JRACLOUD-83172 - Ability to import issues with parent-child(epic-task) relationship to team-managed project 

Feel free to upvote both of these items to encourage Atlassian to implement the fixes. 

 

Thanks

Kathy

Hans Polder _Devoteam_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 18, 2024

The links aren't working for me, I added the working links (for me) below:

https://jira.atlassian.com/browse/JRACLOUD-81919

https://jira.atlassian.com/browse/JRACLOUD-83172

 

This seems like quite an annoying issue. I hope they fix it soon!

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