Skip to content

Slack

Use Slack delivery when the reporter can receive a Slack direct message from Jira Automation.

Complete Before you start first. You also need permission to create Jira Automation rules for the JSM space/project, and the Jira Automation Slack integration must be connected.

  1. Open AdaptiveSurvey.
  2. In the top right corner, select Configure.
  3. In the Automation setup tab, select Slack.

In Jira, go to Space settings -> Request management -> Automation -> Create flow.

Add these components in order.

AdaptiveSurvey Jira Automation flow steps for sending a Slack CSAT survey after a work item is resolved AdaptiveSurvey Jira Automation flow steps for sending a Slack CSAT survey after a work item is resolved

You can adjust rule names, statuses, workspace choice, and message copy to match your process. Keep the required AdaptiveSurvey values shown in the tables exactly as written.

This starts the automation flow when a work item moves to the resolved status used by your workflow. Leave From status blank unless the survey should only send from a specific status. Set To status to the resolved or closed status that should send the survey. Use a status from the Done status category, shown in green in Jira.

AdaptiveSurvey Jira Automation Work item transitioned trigger for starting a Slack CSAT survey flow AdaptiveSurvey Jira Automation Work item transitioned trigger for starting a Slack CSAT survey flow

Add this condition so the survey is only sent once. Without it, the same customer can receive another survey if the work item/issue is resolved again.

FieldValue
First value{{issue.properties.kinline-adaptive-survey.sentAt}}
Conditionequals
Second valueEmpty

You can add more conditions if your process needs them. Do not change this sent-check condition unless you want surveys to be sent again when the same work item/issue is resolved more than once.

Add Set entity property before the Slack action.

This stores AdaptiveSurvey data on the work item/issue before the Slack message is sent. AdaptiveSurvey uses sentAt to know the survey was sent and formType to show the selected survey form in the customer portal.

AdaptiveSurvey Jira Automation Set entity property action for saving the CSAT survey form type AdaptiveSurvey Jira Automation Set entity property action for saving the CSAT survey form type
FieldValue
Entity typeIssue
Property keykinline-adaptive-survey
Property valueChoose and copy one property value based on the form you want this rule to send.

Add Send direct message on Slack after the entity property action. This sends the survey message to the reporter when the automation flow reaches this step.

Select the Slack workspace, set To to {{issue.reporter.accountId}}, and copy the Slack message from AdaptiveSurvey.

AdaptiveSurvey Jira Automation Send direct message on Slack action for sending a CSAT survey to the reporter AdaptiveSurvey Jira Automation Send direct message on Slack action for sending a CSAT survey to the reporter

Name the rule, for example AdaptiveSurvey: Send Question ratings form via Slack on resolve, then save and turn it on. AdaptiveSurvey starts sending Slack surveys when the rule conditions match.

To understand what customers see after opening the link, continue to Customer survey.