OnLink · Repository data
When someone asks for “access to the payments repo”, the agent has to work out which repo, whether it’s private and who signs off. OnLink now brings GitHub repositories into Jira Service Management Assets, so the repo sits on the request and stays current.
GitHub knows every repository your engineers work in. The requests about them land in Jira Service Management: access requests, incidents, change approvals and security findings. With repos in Assets, agents and automations read visibility, topics and last activity directly instead of opening GitHub.
Requesters pick the repo from an Assets field. Full name, visibility and language come with it.
Repo topics like pci become Topic objects, so an automation can add a security approval.
Visibility, secret scanning status and archived flags sync on a schedule, ready for audits and cleanup.
GitHub repos sit next to GitLab projects, cloud accounts and Entra ID or Okta identities, in the same schema.
A developer raises an access request and picks payments-api from an Assets field. The agent sees a private Go repo in the acme org, tagged pci and payments, with secret scanning on and a push two hours ago. An automation rule sees the pci topic and adds a security approval before anyone grants access. When the repo is archived in GitHub, the next sync updates it in Assets.
One API call, List organization repositories, becomes a GitHub Repository object type linked to the objects around it:
Issues, Actions artifacts and projects follow the same pattern with their own endpoints.
Setup comes down to three parts. The setup guide has every field and value.
In GitHub Developer settings, generate a fine-grained personal access token with your organization as resource owner and Metadata set to read-only. Add Issues, Actions or Projects read access if you import those too.
Add an Assets Data Source in OnLink with bearer token auth. OnLink calls List organization repositories with page and per_page paging, 100 at a time, sorted by creation date so nothing shifts between pages.
Key repos on the numeric id, map the fields you need, and set a daily or hourly schedule. Use type=sources to skip forks, and AQL in Assets to filter on archived or language.
Sample mapping for GitHub repositories:
key:id=RepositoryID
map:name=Name
map:full_name=Full Name
map:visibility=Visibility
map:default_branch=Default Branch
map:language=Language
map:archived=Archived
map:pushed_at=Last Push
map:owner.login=Owner
map:topics=Topics|Name=${topics}
OnLink is one app with 100+ connectors. GitHub joins GitLab, AWS, Azure and Google Cloud, plus device managers, HR systems, identity providers and security tools, all importing into the same Assets schema. One app to buy, one to manage.
Each repo is an Assets object, so the questions people ask in Slack become saved AQL searches:
| Question | AQL |
|---|---|
| Which repos are public? | objectType = "GitHub Repository" AND Visibility = "public" |
| Which repos have secret scanning off? | objectType = "GitHub Repository" AND "Secret Scanning" = "disabled" |
| Which repos hold PCI code? | objectType = "GitHub Repository" AND Topics.Name = "pci" |
| Which repos haven’t had a push in a year? | objectType = "GitHub Repository" AND "Last Push" < now(-365d) |
| Which empty repos can we clean up? | objectType = "GitHub Repository" AND "Size (KB)" = 0 AND Archived = false |
Start a free trial of OnLink on the Atlassian Marketplace and connect GitHub with a read-only token.
Yes. OnLink imports repositories from GitHub’s List organization repositories API into Jira Service Management Assets, with topics as linked objects. It uses an Assets Data Source connection, so there is no custom code to maintain.
Yes. GitHub.com, Enterprise Cloud and Enterprise Server use the same REST API. Only the base URL differs, for example https://your-host/api/v3 for Enterprise Server.
With a fine-grained personal access token sent as a bearer token. Metadata read-only is all the repository list needs. If your org requires approval for fine-grained tokens, an owner approves it first.
Yes. Limit the token to selected repositories, use type=sources to skip forks, or filter in Assets with AQL on archived, language or topics.
You set a schedule per import: hourly, daily, weekly or monthly. Daily suits most repo data. Each run updates existing repos and adds new ones, and per_page=100 keeps API calls low.
GitHub in Assets
Start a free trial of OnLink on the Atlassian Marketplace and import your GitHub repositories today.
Your service desk shouldn’t have to ask which repo it is. Bring GitHub repositories into Assets and keep them current on a schedule.
What you get with OnLink for GitHub:
RELATED