Git Integration for Jira Cloud Documentation

Contact support  

AWS CodeCommit webhook events

In the CodeCommit webhook, the message field is parsed.

The following are the supported types of AWS CodeCommit events for triggering webhooks:

AWS CodeCommit (Notifications Event)

Type

pushEvents: “^Notifications$”

Request URL
/api/1/webhook/reindex/install/<secret-key>/repo/<repo-uid>/web

Request headers
Content-Type: text/plain; charset=UTF-8
x-amz-sns-message-id:
x-amz-sns-message-type: Notification
x-amz-sns-subscription-arn: —
x-amz-sns-topic-arn: —

Request payload example

{
  "SignatureVersion": "1",
  "Type": "Notification",
  "TopicArn": "arn:aws:sns:us-east-1:552887875838:git-for-jira-cloud-webhook-6bsuxx79skn7n8kfpgse5qb58-entd68eq86k9frrp2rxg6xkcpppek5h4",
  "Message": "{"Records":[{"awsRegion":"us-east-1","codecommit":{"references":[{"commit":"5f6a956f2560836bb085a5d1bfdde4a0f9bc12a5","ref":"refs/heads/master"}]},"customData":null,"eventId":"e6317415-5a45-41a8-8234-fa90742d2c66","eventName":"ReferenceChanges","eventPartNumber":1,"eventSource":"aws:codecommit","eventSourceARN":"arn:aws:codecommit:us-east-1:552887875838:Natalia_test","eventTime":"2020-06-03T08:28:16.625+0000","eventTotalParts":1,"eventTriggerConfigId":"b5b69ba9-8d48-436f-97d2-e5609d4039c8","eventTriggerName":"git-for-jira-cloud-webhook-6bsuxx79skn7n8kfpgse5qb58-entd68eq86k9frrp2rxg6xkcpppek5h4","eventVersion":"1.0","userIdentityARN":"arn:aws:iam::552887875838:user/ntalalova"}]}",
  "Timestamp": "2020-06-03T08:28:16.882Z",
  "SigningCertURL": "https://sns.us-east-1.amazonaws.com/SimpleNotificationService-hnhffstgav9qvvskm2py3c4b43e6dczm.pem",
  "Subject": "UPDATE: AWS CodeCommit us-east-1 push: acme_test",
  "MessageId": "3179bd00-3741-583a-a6a7-ea5156211a57"
}

Other webhook type events

GitHub webhook events

GitLab webhook events

Microsoft webhook events)

Bitbucket webhook events)

Have feedback about this article? Did we miss something? Let us know!
On this page