Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reordered Atlassian products by popularity.
Excerpt

Use the Put EventBridge/CloudWatch Events action to process Bamboo tasks and notifications, Jira workflow transitions and , Jira Service Management automation rule executions, and Bamboo tasks and notifications with Amazon EventBridge (Amazon CloudWatch Events) to connect application data from your own apps, SaaS, and AWS services:

Div
styleclear:both

Amazon EventBridge is a serverless event bus that makes it easy to connect applications together using data from your own applications, Software-as-a-Service (SaaS) applications, and AWS services. [...] You can set up routing rules to determine where to send your data to build application architectures that react in real time to all of your data sources. EventBridge makes it easy to build event-driven applications because it takes care of event ingestion and delivery, security, authorization, and error handling for you.


Integrations

You can use the Put EventBridge/CloudWatch Events action with the following integrations:

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "integration" and label in ( "bamboo" , "bitbucket" , "confluence" , "jira" ) and label = "action" and space = currentSpace ( )

Requirements

The Put EventBridge/CloudWatch Events action requires sufficient IAM permissions - an adequate IAM policy similar to the one provisioned by the Automation with AWS (Core) CloudFormation template might look as follows:

Expand
Code Block
languagejs
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "events:PutEvents",
                "events:TestEventPattern"
            ],
            "Resource": "*",
            "Effect": "Allow",
            "Sid": "CloudWatchPutAndTestEvents"
        }
    ]
}

(lightbulb) Refer to Using Identity-Based Policies (IAM Policies) for EventBridge for details on how to create more granular/secure policies.

Configuration

To configure an Put EventBridge/CloudWatch Events action:

Complete the following settings:

Parameters

Specify the action parameters according to the following skeleton in JSON format – refer to events . put-events for details:

Tip

You can inject contextual variables into the remote action payload, refer to Entity Variables for details.

Info

Event Patterns in EventBridge (CloudWatch Events)

This is an opinionated brief skeleton that works well for ingesting custom events from Atlassian products – refer to Events and Event Patterns in EventBridge (CloudWatch Events) for details on these and other available fields.


Put EventBridge/CloudWatch Events skeleton - Atlassian Workflow Event

Code Block
{
  "Entries": [
    {
      "Time": "$event.timestamp",
      "Source": "",
      "DetailType": "",
      "Detail": ""
    }
  ]
}

Entity Variables

You can inject contextual workflow variables with workflow entities into the remote action payload template – currently available entities are:

Page Properties Report
firstcolumnName
sortByTitle
cqllabel = "entity" and space = currentSpace ( )

Examples

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
excerptTypesimple
cqllabel = "example" and label = "parameters" and label in ( "put-cloudwatch-events" , "put-eventbridge-events" )

How-to Articles

Filter by label (Content by label)
max8
showSpacefalse
sorttitle
excerptTypesimple
cqllabel in ( "action" , "cloudwatch" , "events" , "eventbridge" ) and label in ( "kb-how-to-article" , "kb-troubleshooting-article" ) and label = "automation-with-aws"

Frequently Asked Questions (FAQ)

Include Page
UAA:_FAQHeaderQuestionsForConfluence
UAA:_FAQHeaderQuestionsForConfluence
Questionslist macro
asktrue
limit8
topicautomation-with-aws,action,cloudwatch,eventbridge,events