Uploaded image for project: 'JIRA Importers Plugin'
  1. JIRA Importers Plugin
  2. JIM-230

As an admin I would like to be able to create subtasks through the CSV importer

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: CSV
    • Labels:
      None

      Gliffy Diagrams

      1. subtasks.config
        0.6 kB
        Wojtek Seliga
      2. subtasks.csv
        0.4 kB
        Wojtek Seliga
      1. subs.png
        26 kB

        Issue Links

          Activity

          Hide
          wseliga Wojtek Seliga added a comment -

          Putting it to 2.4 - that's long awaited issue (8 years old, many votes!).
          We should prove that we can do it NOW!

          Show
          wseliga Wojtek Seliga added a comment - Putting it to 2.4 - that's long awaited issue (8 years old, many votes!). We should prove that we can do it NOW!
          Hide
          rkrishna Roy Krishna added a comment -

          We will do this after the bulk of PT polishing is complete. (post 2.4)

          Show
          rkrishna Roy Krishna added a comment - We will do this after the bulk of PT polishing is complete. (post 2.4)
          Hide
          pniewiadomski Pawel Niewiadomski added a comment -

          In case parent id is wrong there should be an error.

          In case issue has non sub-task issue type and parent id is set there should be an error.

          Show
          pniewiadomski Pawel Niewiadomski added a comment - In case parent id is wrong there should be an error. In case issue has non sub-task issue type and parent id is set there should be an error.
          Hide
          wseliga Wojtek Seliga added a comment -

          Better error handling will be covered in JIM-411

          Show
          wseliga Wojtek Seliga added a comment - Better error handling will be covered in JIM-411
          Hide
          wseliga Wojtek Seliga added a comment -

          I am attaching sample files showing how to create sub-tasks using CSV importer.
          Important thing is: for parent tasks you should allocate a column containing their id (it can be any unique string) and define the mapping for this column to "Issue Id", for child tasks (sub-tasks) you should have another column containing the reference to its parent (the same unique key) and which should be mapped to "Parent Id".
          You need to also remember about mapping issue types.

          Show
          wseliga Wojtek Seliga added a comment - I am attaching sample files showing how to create sub-tasks using CSV importer. Important thing is: for parent tasks you should allocate a column containing their id (it can be any unique string) and define the mapping for this column to "Issue Id", for child tasks (sub-tasks) you should have another column containing the reference to its parent (the same unique key) and which should be mapped to "Parent Id". You need to also remember about mapping issue types.
          Hide
          dafemec Doug Femec added a comment -

          For the second and third subtasks in subtasks.csv, how will My Issue Id be assigned?

          I am presently working on exporting content from VersionOne to JIRA and plan on using the CSV importer. I will let you know how it goes, especially the subtasks part.

          Show
          dafemec Doug Femec added a comment - For the second and third subtasks in subtasks.csv, how will My Issue Id be assigned? I am presently working on exporting content from VersionOne to JIRA and plan on using the CSV importer. I will let you know how it goes, especially the subtasks part.
          Hide
          rkrishna Roy Krishna added a comment -

          @Doug,
          In subtasks.csv, subtasks 2 and 3(rows 5 and 6) do not require a value for 'My Issue Id'(column G) because it only reflects the parent issue. Row 4 has a value there just as an example to show that subtasks can have their own Ids(but it's not used in the import).

          Unable to render embedded object: File (sub.png) not found.

          We also look forward to your results on using the CSV importer with VersionOne.

          Show
          rkrishna Roy Krishna added a comment - @Doug, In subtasks.csv, subtasks 2 and 3(rows 5 and 6) do not require a value for 'My Issue Id'(column G) because it only reflects the parent issue. Row 4 has a value there just as an example to show that subtasks can have their own Ids(but it's not used in the import). Unable to render embedded object: File (sub.png) not found. We also look forward to your results on using the CSV importer with VersionOne.
          Hide
          detheridge detheridge added a comment -

          just to confirm - JIM 2.7.3 does not support importing sub-tasks against an existing parent task, correct? I was able to import sub-tasks against new parents in the same csv, but I couldn't upload sub-tasks to an existing parent. I kept getting this error in the log "ERROR - Unable to link issue from 1 to PMO-2740 with link named 'sub-task-link': Cannot find imported issue key for external id 'PMO-2740'", where "PMO-2740" is the id of an existing parent issue and what I entered in the parentID field, and '1' was the unique string I created in the issuetype field. Hopefully Im just doing something wrong. thx.

          Show
          detheridge detheridge added a comment - just to confirm - JIM 2.7.3 does not support importing sub-tasks against an existing parent task, correct? I was able to import sub-tasks against new parents in the same csv, but I couldn't upload sub-tasks to an existing parent. I kept getting this error in the log "ERROR - Unable to link issue from 1 to PMO-2740 with link named 'sub-task-link': Cannot find imported issue key for external id 'PMO-2740'", where "PMO-2740" is the id of an existing parent issue and what I entered in the parentID field, and '1' was the unique string I created in the issuetype field. Hopefully Im just doing something wrong. thx.
          Hide
          pniewiadomski Pawel Niewiadomski added a comment -

          It does not.

          Parent/child linking is done only between issues from CSV.

          Cheers,
          Pawel

          Show
          pniewiadomski Pawel Niewiadomski added a comment - It does not. Parent/child linking is done only between issues from CSV. Cheers, Pawel

            People

            • Assignee:
              wseliga Wojtek Seliga
              Reporter:
              rkrishna Roy Krishna
            • Votes:
              8 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                hipchat-viewissue-panel

                Error rendering 'com.atlassian.labs.hipchat.hipchat-for-jira-plugin:hipchat-viewissue-panel'. Please contact your JIRA administrators.

                  Who's Looking?