Forums

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

Bulk importing of data for custom fields on an issue

Jon
Contributor
October 29, 2018

i have all these subtasks that are part of a parent issue  and many of the fields of the shared values but one field in particular is all unique and consists of random characters (nubmers and letters). I usually can get this data in a spreadsheet or in some type of list but how could i import them to populate by each subtask? 

 

For example, i have a parent issue. it has 40 subtasks. The field im trying to populate is called "Load Number". the load numbers are BO1234 through BO1273. How can i add them without having to do one at a time. 

 

 

1 answer

0 votes
Ravi Varma
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.
October 29, 2018

Hi @Jon,

Get the 40 sub tasks data as CSV file with two fields (IssueKey, LoadNumber)

Refer the below image:

Screen Shot 2018-10-30 at 11.44.11 AM.png

Import the CSV file into JIRA. Refer the Atlassian documentation - https://confluence.atlassian.com/adminjiracloud/importing-data-from-csv-776636762.html

Once, the CSV file is imported, all the 40 sub tasks will have the Load Number field value updated, based  on the data provided in the CSV file

Regards,

Ravi Varma

Jon
Contributor
October 31, 2018

hi Ravi, 

Since im importing so many fields is there any way to get around having to use the issuekey and/or summary key? 

Jon
Contributor
October 31, 2018

hi ravi, another question on this. 

im trying to import the data to subtasks only  but when I try to put the summary or issuekey on the cvs it populates on the parent issue too. then I saw this comment. 

 

Sub-tasks

To import issues as sub-tasks define the column mapping for: Issue Id, Parent Id and Issue Type

 

 

How would I change my CSV file to accommodate this? Then same question as above, do I need to have the Summary and IssueKey on the CVS when doing this? 

Ravi Varma
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.
November 1, 2018

Hi @Jon,

  • Once the issues are created, you can specify the Issue->Sub task relationship between them using the IssueId and ParentId and import the CSV file.
  • The issues and sub tasks are identified by IssueKey. In a single CSV file, you can add all those 40 sub tasks and their custom fields with appropriate values. When we import the CSV file, all the issues/sub tasks mentioned in the CSV file will be updated in a single stretch.

Regards,

Ravi Varma 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events