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

Allow Issue Collector to act as "log in" and grant the permissions to access JIRA to successfully create issue

    XMLWordPrintable

Details

    • 0
    • 5
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Steps to reproduce

      1. Create a user with username user1 and email user1@email.com in LDAP
      2. Connect JIRA to LDAP
      3. Users will be given the jira-users group membership upon first log in which grants them access to JIRA (without it the user can't access JIRA)
      4. Issue collector is created with Match reporter set to Attempt to match user session of submitter or submitter email address
      5. Do not log in to JIRA with this user yet to ensure that the user doesn't have access to JIRA
      6. Create an issue via the issue collector, entering user1@email.com in the email field

      Actual Results

      1. The issue will fail to be created with the following error message

        Oops! Something went wrong...
        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.
        Don't worry though! We've logged this problem and will look into it soon!

      This is expected because

      1. The issue collector will find a user associated to the email address
      2. It finds the user user1 and attempts to create the issue using this user
      3. It finds that the user doesn't have access to JIRA (since the user has not logged in before)
      4. Issue creation will fail

      Suggestion

      Allow the Issue Collector to act as a Log In so this user is given the jira-users group membership and the issue is successfully created

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ywoo Yit Wei
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: