Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-11292

Object Schema managers who are not Insight/Jira Admin will see a Permission Error when executing an import manually

    XMLWordPrintable

Details

    Description

      Issue Summary

      Object Schema managers who are not Insight/Jira Admin will see a Permission Error when executing an import manually.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Configure new CSV import for an object schema.
      2. Create new user in Jira and grant the user with Insight Manager role for the object schema.
      3. Login to Jira with the newly created user and perform a manual CSV import.

      Expected Results

      CSV data imported into the object schema without issues as Insight Managers should have the permissions to Create/Configure/Enable imports as per the Configuring roles and permissions page.

      Actual Results

      The permission error popped up with the error message:

      Sorry, you do not have permission to perform this action.. PermissionInsightException: User <user_key> didn't have correct permission (admin)
      

      Workaround

      Either of the workarounds below should work:

      1. Configure the import to sync on schedule automatically. It'll work even if the user with the Insight Manager role is used as the synchronizing account.
      2. Grant Insight Administrator role to the user following the steps in the Granting global permissions section of the Configuring roles and permissions page to allow manual sync.
      3. Use a REST API to start the import, authenticated by the User (Schema Manager)

      Attachments

        Issue Links

          Activity

            People

              jxu2@atlassian.com Sam Xu
              0583e4ef94d1 Samuel Ng
              Votes:
              16 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync