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

Unable to create API issues with Portal Access users as the reporter

      Currently, it is not possible to create issues in JSD enabled projects through the IssueManager because it does not take account of the new Service Desk Customer - Portal Access security type, the same is true for all other security checks like comment, add attachments etc. The createIssueObject method below fails with a CreateException, indicating (for create) that the user does not have the CREATE_ISSUE permission:

      ComponentAccessor.getIssueManager().createIssueObject(anIssueObject.getReporterUser(), anIssueObject);
      

      The workaround I have applied is to modify the Projects Permission Scheme to add the Role Service Desk Customers for each related JIRA Permission thats required, and this works. The user involved does not start counting toward the JIRA user count (primary attribute of a JSD Portal User), and issues can be created and updated. But, there is then a scary error warning on the Service Desk admin screen:

      Two things:
      1. API issue creation with portal users as the issue reporter should just work, it doesn't.
      2. I'm not sure what ill effects there would be over the workaround of adding Service Desk Customers role in the permission scheme, comments regarding scary warning above?

        1. permission-scheme.png
          permission-scheme.png
          69 kB
        2. SD error 3.png
          SD error 3.png
          44 kB
        3. SD Portal access.png
          SD Portal access.png
          61 kB

          Form Name

            [JSDSERVER-1473] Unable to create API issues with Portal Access users as the reporter

            This seems to have been resolved for some time.

            If anyone is still having problems, please raise a new help ticket.

            Benjamin Suess added a comment - This seems to have been resolved for some time. If anyone is still having problems, please raise a new help ticket.

            In what version you plan to fix this bug?

            Willians Espinoza added a comment - In what version you plan to fix this bug?

            Is this bug affecting Jira Service Desk 4.0.2? 

            Jorge Jerez added a comment - Is this bug affecting Jira Service Desk 4.0.2? 

            Is it possible to get a status update on this Bug?  Is it likely to be fixed any time soon?  

            We've encountered the same issue using Jira Service Desk Cloud.

            Brian Poleykett added a comment - Is it possible to get a status update on this Bug?  Is it likely to be fixed any time soon?   We've encountered the same issue using Jira Service Desk Cloud.

            This is one of the things that lead us to give up on using JSD. We use the wonderful JEMH plugin to map different email aliases (same mail box) onto different issue types, assignees, ...etc
            We tried to integrate JSD with JEMH but this issue prevents us from fast/easy customer account. Our support team often creates tickets while on the phone with the customer and we still want these tickets to behave just the same as for mail created ones when notifications are sent to the customer.

            So that's why we won't use JSD (and because of template editing as well).

            MASI Mégalis Bretagne added a comment - This is one of the things that lead us to give up on using JSD. We use the wonderful JEMH plugin to map different email aliases (same mail box) onto different issue types, assignees, ...etc We tried to integrate JSD with JEMH but this issue prevents us from fast/easy customer account. Our support team often creates tickets while on the phone with the customer and we still want these tickets to behave just the same as for mail created ones when notifications are sent to the customer. So that's why we won't use JSD (and because of template editing as well).

            Priit Parmann added a comment - - edited

            There are at least 3 side-effect when adding Service Desk Customers role to create/comment issue permissions in the permissions scheme:

            1. It disables the possibility to change the settings related to Customer Portal access (from People > Customers tab):
            2. It does not allow to invite new customers (from People > Customers tab):
            3. Even if you have enabled the "Anyone can sign up for a customer account on my Customer Portal" option before making changes to the permission scheme (compared to what JSD expects), the Sign Up section and button will disappear from the Log In window for new users trying to sign up for the Customer Portal access.

            Not sure what other harm can those changes in permission scheme do in the background (PS if there are any, it would be helpful to list them in your documentation so people will be aware of what they are risking with: https://confluence.atlassian.com/display/Cloud/JIRA+Service+Desk+permissions#JIRAServiceDeskpermissions-PortalAccessSecurityTypeAbouttheServiceDeskCustomer-PortalAccesssecuritytype).

            I'm hoping for a quick fix as this issue is preventing plugin vendors to properly interact with JSD, meaning potentially lots of unhappy customers.

            Priit Parmann added a comment - - edited There are at least 3 side-effect when adding Service Desk Customers role to create/comment issue permissions in the permissions scheme: It disables the possibility to change the settings related to Customer Portal access (from People > Customers tab): It does not allow to invite new customers (from People > Customers tab): Even if you have enabled the "Anyone can sign up for a customer account on my Customer Portal" option before making changes to the permission scheme (compared to what JSD expects), the Sign Up section and button will disappear from the Log In window for new users trying to sign up for the Customer Portal access. Not sure what other harm can those changes in permission scheme do in the background (PS if there are any, it would be helpful to list them in your documentation so people will be aware of what they are risking with: https://confluence.atlassian.com/display/Cloud/JIRA+Service+Desk+permissions#JIRAServiceDeskpermissions-PortalAccessSecurityTypeAbouttheServiceDeskCustomer-PortalAccesssecuritytype ). I'm hoping for a quick fix as this issue is preventing plugin vendors to properly interact with JSD, meaning potentially lots of unhappy customers.

              Unassigned Unassigned
              cd3cc7134331 Andy Brook
              Affected customers:
              38 This affects my team
              Watchers:
              26 Start watching this issue

                Created:
                Updated:
                Resolved: