Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Github integration and Build Status

I am attempting to use Compass to monitor the status of the many repositories my company manages using Github. We mainly use Github Actions to run CI/CD pipelines on changes to our repositories and like to be able to track them in Compass.

I have created the `compass.yml` files and added them to the repos, but they only provide 3 different kinds of metrics:

  1. Deployment Frequency
  2. Open Pull Requests
  3. PR Cycle Time

I'm looking for a way to update a status/metric of a component based on the conclusions of certain Github Actions. Similar to how build events are tracked using the pre-defined Build Success Rate metric for Bitbucket pipelines.

I was wondering if I could get some guidance on how I could achieve something like this.

1 answer

1 vote
Dave Parrish _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 17, 2022

Hey John 👋 It's Dave from the Compass integrations team. Welcome and thanks for this question. Sounds like you're looking to manually push metrics to a component based on the result of a GitHub Action. We've got instructions for setting that up here:

Push metric values using a cURL command

Meanwhile, we are continually updating our integrations (including GitHub) to *automatically* publish key metrics to Compass. So for example, in the near future you will automatically be able to see *build success rate* for components with an associated GitHub repo, without you needing to follow the instructions above.

Hopefully this is helpful. Tell me more about the metrics you're looking to publish and I'll make sure you're on the right track!

Hey Dave,

We run builds on every commit pushed as part of our review process and would like to monitor and display the status of all our repositories. What I am trying to achieve for my proof of concept really is to display the current build status of repositories (and if possible, a % Build Success Rate metric compatible with Github repositories). 

I have read through that article. Correct me if I'm wrong, but it seems to only support pushing numerical values to the metric, whereas I am looking to push a status (i.e. Pass/Fail).

I have read and attempted to work through the guide to get started with the `dataprovider` module because it seems to be the solution to my issues. I am however struggling to understand how data from external sources (this case Github Actions) gets to these `dataprovider` modules and is then communicated to the relevant components in Compass.

Like Steffen Opel _Utoolity_ likes this
Dave Parrish _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 18, 2022

Thanks @John Medina for the additional context. We'll be adding native support for build success rate in GitHub very soon, so there's no need for you to dig further into the docs. I'll post a message back here when it's available.

Like # people like this

That sounds great!

Are there also any plans on allowing `Statuses` to be displayed?

Like Steffen Opel _Utoolity_ likes this
Josh Campbell
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 20, 2022

Hey John, we don't have a way to push a status like you're asking (i.e. non-numerical data) using Metrics today. You could use 0 or 1 as a workaround :) or perhaps use a Custom Field and update that via the API for this. That said, I understand the usecase you're highlighting so you're feedback is heard there.

One followup question: is the concept of a status for a component limited to just build events for you or is that simply the first step you're taking in determining a components status? I guess I am curious what it means for a component to have a "status" in general. Cheers!

This work was mostly got a PoC I had been working on for my company. Ideally, this would have been included as one of the metrics used in a Service Scorecard as a factor to good system health.

Like Josh Campbell likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events