Skip to main content
Skip table of contents

Create a GitHub repository picker in Jira issues

Need: Retrieve GitHub repositories from Jira issues

Let's take a scenario in which Jira is used to manage access requests. A manager would like to have a list of GitHub repositories directly inside Jira and be able to select to which repository the access shall be granted to a new developer joining his team. 


Solution: Connect Jira to GitHub and create a repository picker

By connecting Jira to GitHub and adding a "GitHub repositories" field in Jira issues, Jira users can easily choose one or several repositories in this "GitHub repository picker".

This is just an example, the GitHub REST API gives access to plenty of information like Issues, Pull requests or Users.

In this example, we list all Mozilla repositories


Configuration guide: how to populate fields with GitHub data

Step 1: connect to the datasource

First, create the GitHub datasource in Connect.

Step 2: create Elements Connect fields

  • Download the field configuration: Repositories_export.json

  • From Elements Connect administration, create an Elements Connect field of type Live Text

  • Click on the field name to configure it and select the third option: "Import an external configuration"

Select "Import an external configuration"

  • Select the "GitHub" datasource created previously

  • That's it! The field is now configured. You can adapt the query ("URL Path") to your needs, check out the GitHub REST API documentation to discover what you can do with it.

  • Click the "Save" button, the field can now be used from an issue.

Your field is now properly configured

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.