When connecting a Github Repo, the Button "Ask my admin" doesn't send an email to the Admin

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      When I create a connection to a Github repository as a non-admin user, I get a modal "Integrate Jira with GitHub" with a button "Ask my admin", which doesn't seem to notify the admin.

      Also, the text of the modal is not really understandable:

      "Your repo is now linked, but your team can get visibility of development progress in their issues when GitHub and Jira are integrated."

      Should probably be:

      "Your repo is now linked, but your team can only get visibility of development progress in their issues when GitHub and Jira are integrated."

      Steps to Reproduce

      1. Click "Add item" in the left-hand navigation menu as a non-admin in a next-gen project.
      2. Click "Add" a repository.
      3. Paste a Github repo URL into the "Repository link" field.
      4. In the next modal, click on "Ask my admin"

      Expected Results

      The admin gets an email to take action on installing the GitHub repository.

      Actual Results

      The admin doesn't get an email.

      The button sends a request with the following payload to the endpoint `https://events-test.jira-dev.com/rest/projects/1.0/project/EV/shortcut/8`:

      {  
         "url":"https://github.com/thombergs/code-examples",
         "name":"code-examples",
         "icon":"",
         "type":"source.code.link",
         "dvcsType":"github",
         "isPendingApproval":true,
         "dvcsOrg":"thombergs",
         "dvcsRepo":"code-examples",
         "newGithubDvcsIntegrationsAllowed":true,
         "githubAppInstalled":false,
         "id":"4"
      }

      So the button does something, but the server isn't sending the email.

      Workaround

      Tell the admin manually to install the Github integration.

       

       

            Assignee:
            Unassigned
            Reporter:
            Tom Hombergs
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: