Use survey automation actions

Use automation actions to distribute surveys automatically and manage survey status from within your automation rules — no manual link copying or rule edits when surveys change.

Survey automation actions let you connect your surveys to Jira Service Management automation rules. Instead of manually pasting survey URLs into email or Slack actions, you can use a dedicated action to look up a survey's details and pass them as smart values to any downstream action in your rule. Read more about surveys.

This feature is only available with paid plans.

There are two actions available:

Action

What it does

Get survey

Retrieves details for a selected survey, including its distribution URL.

When you add the Get survey action to a rule, a {survey} smart value is created. You can use {{fetchedJsmSurvey.distributionUrl}} to insert the survey's distribution URL as a smart value into any subsequent action — such as a Send email, Send Slack message, or Add comment action.

Update survey status

Changes the status of a selected survey (for example, from Published to Completed). This is useful to close a survey automatically after a certain date or event.

Create a rule that distributes a survey on request resolution

To send a survey automatically when a work item is resolved:

  1. Go to Space settings, then select Automation.

  2. Select Create flow, then select Create from scratch.

  3. Add a trigger.
    For example, select Work item transitioned and choose Resolved as the target status.

  4. Select Action to add a new step.

  5. From the list of actions under Jira Service Management, select Get survey.

  6. Connect to your cloud site when prompted.

  7. Select the space that contains your survey.

  8. Search for and select the survey you want to distribute.

  9. Select Next.

  10. Add another action. For example, Send email or Add comment.

  11. In the action's body, use the smart value {{fetchedJsmSurvey.distributionUrl}} to insert the survey URL.

  12. Save and enable the rule.

You can also create this rule using the survey template from the Templates tab.

Create a rule that closes a survey automatically

To change a survey's status after a scheduled event:

  1. Go to Space settings, then select Automation.

  2. Select Create flow, then select Create from scratch.

  3. Add a trigger.
    For example, Scheduled to run on a specific date.

  4. Select Action to add a new step.

  5. From the list of actions under Jira Service Management, select Get survey.

  6. Connect to your cloud site and select your space.

  7. Search for and select the target survey.

  8. Set the new status (for example, Completed).

  9. Save and enable the rule.

Still need help?

The Atlassian Community is here for you.