Evaluating conditions with action response format

You can evaluate arbitrary remote conditions in applicable integrations by returning a JSON result shape that adheres to the action response format schema defined below.

This allows you to call AWS services and third-party REST APIs to ensure that any prerequisites for your workflows are automatically checked right before dependent steps are initiated.

Supported integrations are the Jira Service Management Automate with AWS if condition, the Jira Automate with AWS workflow condition and Automate with AWS workflow validator, and the Bamboo Automate with AWS task.

Response format

Return a response adhering to the following JSON result shape from your action to evaluate a remote condition:

1 2 3 4 { 'result': false, 'errorMessage': "Deployment blocked due to service being in alarm state" }

 

Boolean true is the only valid response to indicate success

Returning false indicates failure, and so does any exception that might be thrown by your remote action.

Actions

You can evaluate responses of the following actions:

How-to Articles

Frequently Asked Questions (FAQ)

Atlassian®, Atlassian Bamboo®, Bitbucket®, Atlassian Crowd®, Confluence®, Jira®, Jira Service Management™, Opsgenie®, and Statuspage™ are registered trademarks of Atlassian.
Amazon Web Services™, AWS™ and the “Powered by Amazon Web Services” logo are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.

Utoolity® is a registered trademark of Utoolity GmbH.
© 2022 Utoolity GmbH. All rights reserved.