Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-64340

Issue Collector wouldn't create an issue if the "Email" is set to a unlicensed User

    XMLWordPrintable

Details

    Description

      Steps to Reproduce:

      1. Create a user that is not counted towards the license.
      2. Create a project and an issue collector with it.
      3. Set the "Reporter" to Attempt to match user session of submitter or submitter email address"
      4. Save the configuration and use the HTML template in JIRA Announcement Banner.
      5. Confirm that the Ribbon is appearing.
      6. After it, navigate to "Project Permission" and edit it.
      7. Set the "Create Issue" permission to "Group: Anyone" and save the change.
      8. Open a new Browser to use a new session and access JIRA.
      9. In the login Page, click on the Ribbon in an attempt to provide a feedback.
      10. Set the necessary fields and make sure the email set is the email of the previously created user.
      11. Click Submit.

      Expected Result:

      • The issue is created and the reporter set to the registered user:

      Actual Result:

      • The creation fails with an error in the UI and the logs mentions:
        2017-03-08 18:41:25,516 http-nio-8731-exec-11 ERROR aaaaa@gmail.com 1121x9296x1 15jw1o8 0:0:0:0:0:0:0:1 /rest/collectors/1.0/template/feedback/ee890d62 [c.a.j.c.plugin.rest.TemplateResource] Detected errors in collector 'Test Unlicensed' (id: ee890d62, project PM): [Sorry, you can't create any issues right now, as you need to have access to a JIRA application to be able to create issues. To gain application access you need to be a member of a group assigned to an application.]
        

      Notes:

      • The same Steps has been done with JIRA 6.3.4 and the issue will be created with the reporter set to the unlicensed registered user.
      • In a case where the creation is not possible from the "Create" button due to "Reporter" field is "Required" if we allow "Anyone" to modify the reporter, the issue is still be created as long the ticket raiser knows their username and put it in the reporter field.
      • Also, while the registered email address is not allowed to create a ticket, the default reporter is not being used.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jrahmadiputra Julian (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated: