Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

RequestTypeDescription

getAnswers

need a better name

GET

Gets survey answers to survey custom questions for the single project during the specified date range.

Parameters

  • projectKey – required parameter
  • startDate – required parameter
  • endDate – required parameter

Example - link to the example request & response belowfor app versions before 3.4.X:

https://example.com/rest/surveysData/1.0/getAnswers?projectKey=TEST&showall=true

Starting with version 3.4.X of the app the new service requires two more parameters, here is an curl example:

curl -u admin:admin -X GET -H "Content-Type: application/json" -G "http://example.com/jira/rest/surveysData/1.0/getAnswers?projectKey=TEST&startDate=&endDate="

getAvgReportGET

Gets results of the Average Rating Report for an active survey in a specified project within the specified date range.

Parameters

  • projectKey – required parameter
  • startDate –
  • endDate –
getByIssueGET

Gets survey rating and user comment for a specified ticket.

One of the following parameters must be specified:

  • IssueKey
  • IssueId
getDateReportGET

Retrieves data from the "Date Report on User Usage" report for the specified project within the specified date range.

Parameters

  • projectKey – required parameter
  • startDate –
  • endDate –

...