Rally Notification
Rally is an enterprise-class platform that is purpose-built to scale agile development practices. This guide explains how to set up an outbound connection with Rally in Cloudaware.
To see how Cloudaware seamlessly integrates with Rally in action, request a demo.
Add Rally server
Log in to Cloudaware account → Admin.
Find Rally Notification in Other Integrations. Click +Add.
Fill out the form:
WHERE
Server URL - for SaaS Rally, enter the server URL in the format https://rally1.rallydev.com/ or https://eu1.rallydev.com/ depending on location; for on-prem Rally, use the server public URL.
Username - enter the username
Password - enter the password
Click Get Projects. Select a Rally project from the list.
Setup a Defect details that will be displayed in Rally:WHERE
Name - enter the Defect name that will be created in Rally, e.g. New compliance violation
Description - enter the description for a Defect in.html
format
Here is a sample description with the CIS Benchmark Check fields:CODE'<p>New high severity violation: <a class="cke-link-popover-active" href="https://cloudaware-XXXX--ca10.na159.visual.force.com/' + sObject.Id + '">' + sObject.Name + '</a></p>' + '<p><strong>Policy Name:</strong> ' + sObject.Policy_Name__c + '<br />' + '<strong>Subject:</strong> ' + sObject.CA10__subject__c + '<br />' + '<strong>Severity:</strong> ' + sObject.Severity__c + '<br />' + '<strong>Status:</strong> ' + sObject.CA10__status__c + '<br />' + '<strong>Incompliant Start Date:</strong> ' + sObject.CA10__incompliantStartDate__c + '<br />' + '<strong>Account</strong>: ' + sObject.CA10__awsAccount__c + '</p>'
where
https://cloudaware-XXXX--ca10.na159.visual.force.com/
is a placeholder for a dedicated Cloudaware instance web address link.
Environment (optional) - specify Rally environment (Development, Test, Staging, Production)Severity (optional) - specify Defect severity (Crash/Data Loss, Major Problem, Minor Problem, Cosmetic)
If values in Environment and Severity fields differ from the accepted ones, they will not be defined in a Defect. Cloudaware also supports JS expressions, e.g. sObject.Severity__c can be used to define the field that should be present as a Defect attribute.
Click Save.
The green light in 'Status' means that your Rally Notification integration has been successfully configured. If there is a red light, please contact support@cloudaware.com.
Set up Rally notifications
Cloudaware uses workflow functionality to send outbound messages to Rally. Set up a workflow rule to trigger the creation of Rally defects (notifications) whenever specific criteria are met.
Log in to Cloudaware account → Setup.
In the Quick Find box start typing workflows to select Workflows & Approvals → Workflow Rules → New Rule:
Select the object for the rule to be applied to and click Next. In our use case, we are using Cloudaware Benchmark Check.
Add Rule Name (1), set Evaluation Criteria(2) and Rule Criteria(3). Add Filter Logic if necessary. Click Save & Next.
In this example, we would like to set up alerts for incompliant benchmark checks of high severity. Every time a new high severity benchmark check is created, the field 'Incompliant End Date' is blank since this violation is not closed yet. If these conditions are met, Cloudaware triggers the workflow rule to take into action creating a new defect in Rally.
More information about workflow rules criteria is here.Add Workflow Action → New Outbound Message:
Fill out your Outbound Message details:
For Endpoint URL paste the URL from Rally Notification integration details, e.g. https://inbound-dot-cloudaware-vm.appspot.com/inbound-message/rally/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX. In 'Selected Fields', specify the fields that should be present in Defect details (used in Description, Environment and Severity when setting up the integration). Otherwise, fields will not be defined.
Click Save.Review the workflow and click Done.
Click Activate to activate the workflow.
Sample Defect in Rally
Here is a sample Defect (notification) created in Rally based on Cloudaware workflow rule for Compliance Engine: