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

Created events not showing up in Activity Feed

Chase March 11, 2024

I'm trying to use the REST API (and GraphQL API) to create build/deploy events for our components. Right now I'm just manually sending the requests in, but they aren't showing up in the timeline. I've added the event source, attached it, and send the create event request with a successful response, but it's not showing up. Is there any way to see a log of what's going on in Compass so I can try to diagnose this?


Here is my request:

"cloudId": "{{COMPASS_CLOUD_ID}}",
"event": {
"deployment": {
"displayName": "deploying",
"lastUpdated": "2024-03-11T14:50:00Z",
"updateSequenceNumber": 11,
"description": "description",
"url": "",
"externalEventSourceId": "octopus",
"deploymentProperties": {
"sequenceNumber": 11,
"state": "PENDING",
"pipeline": {
"pipelineId": "1",
"url": "",
"displayName": "deployment1"
"environment": {
"category": "DEVELOPMENT",
"displayName": "deploy1",
"environmentId": 1

One thing that isn't clear is what all the sequence numbers are for and how we use them.

1 answer

1 vote
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 28, 2024

Hi there, Chase!

First of all apologies for the delayed response! :/

The call itself is correct, there are a few things to mention here:

Regarding the "sequence number" you see there: those are used so that the system has an idea of their order (in case multiple come at the same time), so increasing them everytime you make a call will make them show up on your tab.

The environment: what's really important there is the ID. Usually the ID 1 is the production environment with ID 2 being staging, etc

And finally, make sure your component has a repository associated with it since the example you used is a deployment with pipelines :)

Let me know if you have any questions!

Chase April 10, 2024

Hi @Vinicius , sorry I didn't get an email notification regarding your response to this.

Is there a way to know the current sequence number, or which one I should be doing next? Does the sequence number ever reset, like for succeeding builds?

You said my example is a deployment with pipelines - I guess that sounds like what I want, unless I'm mistaken. I'm trying to send build and deploy events from my Jenkins pipelines, is this the right request? I do realize that there's no component ID in the request, but I thought that each event source was tied to a specific component, so it would be inferred.

Also, according to the docs, `lastUpdated` isn't required but when I remove that line I get a 400 back, saying that it must not be null.

Somewhat related - are there any plans for a Jenkins plugin to do this automatically? 😄

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events