Here's how to access the results of surveys answered by customers.
- You must be able to administer Jira global permission as mentioned in the Jira Cloud platform REST API documentation.
- You have configured the survey workflow as shown in the administrator guide.
- You have already generated an API key.
The Surveys for JSM REST API uses the same authentication as the Jira API authentication. For more information, consult the Atlassian Developers documentation.
Retrieving Surveys for JSM results
Surveys for JSM REST API can return the survey results when requested with the endpoint parameters below.
The example below shows an example where all the results were returned. You only see one data block as the total survey is only one in this scenario.
The project that is associated with the surveys.
The starting date range of the surveys.
Default: If no value is passed, there will be no cutoff point for the starting point.
The ending date range of the surveys.
Default: If no value is passed, there will be no cutoff point for the ending point.
Filter the results by the assignee.
Default: If no value is passed, the results won't be filtered by the assignee.
Whether surveys that only have been responded to should be returned.