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

Allow access to CSV importing for non-administrators - bulk create

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

      Users who do not have admin access should be able to upload a CSV file to 'bulk create' issues. This could be done via the project panel

      It would need to be a very restricted version of JIM and we would have to be careful that the import does not create new fields, statuses, users, etc.

      Restrictions for such capability should include:

      • no new project creation
      • no user creation
      • no new issue types, resolutions, etc.
      • no new fields
        (Basically limit then the importer so that it creates just pure issues)

            [JIM-258] Allow access to CSV importing for non-administrators - bulk create

            Hello matt.doar@servicerocket.com

            We did add new CSV Importer under Issues top menu, but it's very different one from the old CSV Importer available only for administrators. We even call it differently -> Bulk Create.

            It alows to bulk create issues via CSV files. It checks all permissions and security features before import and allows only to add values to fields that are available in Craete Issue Dialog (which can be configured from Settings -> Screens). In other words it only allows to create issues that user is able to create via "Create" button anyway.

            We didn't implement any switch-off, because we didn't consider that it's necessary for our customers. Yet, it's not the first place where we are asked about it, so I'll create an improvement request for that and implement it in near future.

            Cheers,
            Przemek

            Przemyslaw Borkowski (Inactive) added a comment - Hello matt.doar@servicerocket.com We did add new CSV Importer under Issues top menu, but it's very different one from the old CSV Importer available only for administrators. We even call it differently -> Bulk Create. It alows to bulk create issues via CSV files. It checks all permissions and security features before import and allows only to add values to fields that are available in Craete Issue Dialog (which can be configured from Settings -> Screens). In other words it only allows to create issues that user is able to create via "Create" button anyway. We didn't implement any switch-off, because we didn't consider that it's necessary for our customers. Yet, it's not the first place where we are asked about it, so I'll create an improvement request for that and implement it in near future. Cheers, Przemek

            Roy Krishna (Inactive) added a comment - The docs for this feature are separate and live here: https://confluence.atlassian.com/display/JIRA/Creating+issues+using+the+CSV+importer

            I see this feature is appearing in JIRA Importers (JIM) 6.2.3 but I'd like to know more about it. Who exactly is given permission? Can system select fields such as resolution and priority have their options modified? And how can I disable it, since for large JIRA instances this could be a very big problem.

            An update to the docs for this at https://confluence.atlassian.com/display/JIRA/Importing+Data+from+CSV is what I'm really looking for

            Ignat (Inactive) added a comment - I see this feature is appearing in JIRA Importers (JIM) 6.2.3 but I'd like to know more about it. Who exactly is given permission? Can system select fields such as resolution and priority have their options modified? And how can I disable it, since for large JIRA instances this could be a very big problem. An update to the docs for this at https://confluence.atlassian.com/display/JIRA/Importing+Data+from+CSV is what I'm really looking for

            This is a critical requirement for many of us.
            If someone has developed code that works, can you share it with the rest of us?

            Reynaldo Bernal added a comment - This is a critical requirement for many of us. If someone has developed code that works, can you share it with the rest of us?

            Hi Seliga,

            Thank you for your valuable reply. I modified as you suggested. Now non-admin/groups are able to do csv import.

            Thanks,
            Patina

            Ignat (Inactive) added a comment - Hi Seliga, Thank you for your valuable reply. I modified as you suggested. Now non-admin/groups are able to do csv import. Thanks, Patina

            rambabupatina@gmail.com, that's a non trivial change. You have to find for all references to PermissionManager in JIM and change it. Also you have to remove all @WebSudoRequired annotations. Finally look in atlassian-plugin.xml for roles-required in webwork1 element and change it to "use".
            Do it at your own risk.

            Wojtek Seliga (Inactive) added a comment - rambabupatina@gmail.com , that's a non trivial change. You have to find for all references to PermissionManager in JIM and change it. Also you have to remove all @WebSudoRequired annotations. Finally look in atlassian-plugin.xml for roles-required in webwork1 element and change it to "use". Do it at your own risk.

            Thank you for your quick response Seliga.
            I have the Jira-Importers-Source code. So, can i have a possibility to change the code? If yes how can i do changes to allow non admin users/groups.
            Could you please let me know.

            Thanks,
            Patina

            Ignat (Inactive) added a comment - Thank you for your quick response Seliga. I have the Jira-Importers-Source code. So, can i have a possibility to change the code? If yes how can i do changes to allow non admin users/groups. Could you please let me know. Thanks, Patina

            it's not possible right now. JIM automatically creates fields, users, projects and options for single/multi select custom fields - all of it can be normally done only by an admin.
            Allowing non-admins would require first to seriously refactor security handling by JIM. No whole JIM assumes that it's run by admin and thus can change anything on their behalf at will.

            Wojtek Seliga (Inactive) added a comment - it's not possible right now. JIM automatically creates fields, users, projects and options for single/multi select custom fields - all of it can be normally done only by an admin. Allowing non-admins would require first to seriously refactor security handling by JIM. No whole JIM assumes that it's run by admin and thus can change anything on their behalf at will.

            Very important issue to me. Could you please let me know if it is possible to allow non-admin users?

            Thanks,
            Patina

            Ignat (Inactive) added a comment - Very important issue to me. Could you please let me know if it is possible to allow non-admin users? Thanks, Patina

            Attached a couple of images of how Rally does this.

            This is one of those features that is very important to managers who have to deal with lists of issues in excel from customers.

            Ignat (Inactive) added a comment - Attached a couple of images of how Rally does this. This is one of those features that is very important to managers who have to deal with lists of issues in excel from customers.

              Unassigned Unassigned
              Anonymous Anonymous
              Archiver:
              dnorton@atlassian.com Dave Norton

                Created:
                Updated:
                Resolved:
                Archived: