Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy Time metrics not showing up for REST API deployment events

Andrew Harmon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 21, 2026

We have some repos linked to GitHub and some require using the REST api to post our build events. The GitHub linked show a Deployment Time metric, but the custom one does not. I assume it's some bug in the way I'm posting my deployment events via the REST api. I post a PENDING event with an updateSequenceNumber, then at the end I post a SUCCESSFUL event with a higher updateSequenceNumber and a a later lastUpdated date. deploymentProperties.sequenceNumber stays the same both posts. 

When looking at the timeline in Compass, I first see the pending event in the timeline, then when done, it's turned into a complete checkmark. So it seems the 2 events are being associated with each other correctly? But the Deployment time metrics show now events as you can see in the screen shot. Appreciate the help!!

Screenshot 2026-01-21 at 7.37.04 AM.png

2 answers

0 votes
Enrique Serrano Valle
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 21, 2026

Hi, @Andrew Harmon !

Based on your description, it sounds like you're using the right environments and sequence numbers, as you can see the deployment frequency being calculated.

Are you providing both `deploymentProperties.startedAt` and `deploymentProperties.completedAt` in your successful deployment events? You'd need to pass both so that the deployment time would be calculated.

0 votes
Tomislav Tobijas
Community Champion
January 21, 2026

Hey @Andrew Harmon ,

I believe the Deployment Time metric is only automatically calculated for deployment events that meet specific criteria. For GitHub-linked repositories, Compass collects deployment events via the GitHub integration, specifically from GitHub Actions deployments that use a GitHub Environment name mapped to "Production" or "Staging" > here's the integration article

Now, this might provide some additional insights: Deployments not showing from Rest API 

Apart from ensuring that your deployment events and environment names are structured properly, and keeping in mind that deployment activity and metrics only appear if there has been at least one deployment in a production or staging environment within the last 28 days, not sure what else you could check 🤔

You could try checking if there's an open feature request or reported bug in JAC. (I did a quick sweep, but couldn't find anything related)

Atlassian folks might chime in on this and provide some better assistance.

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events