You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm trying to use the 'Send events using REST API' feature. When I make the POST it responds with a 202 response. But I can't see it in the timeline, I assume it should available almost straightaway.
I've double checked event sources and they seems to be setup correctly. Any ideas really appreciated! :)
Example curl command:
(I've replaced any sensitive information).
curl --location 'https://<mydomain>.atlassian.net/gateway/api/compass/v1/events' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic REMOVED_AUTH' \
--data '{
"cloudId": "CLOUD_ID",
"event": {
"custom": {
"displayName": "test",
"lastUpdated": "2022-05-22T12:23:45Z",
"updateSequenceNumber": 57,
"description": "testing",
"url": "https: //www.example.com",
"externalEventSourceId": "poc-event-source-custom",
"customEventProperties": {
"id": "1234",
"icon": "INFO"
}
}
}
}'
Discovered this was user error. For starters the year is incorrect. Then subsequence updates did not fix the issue until I changed the sequence number.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.