Document toolboxDocument toolbox

Error handling

If the parameters of the query are defined erroneously, the following responses can be returned with an HTTP Error 400 Bad request status:

  • If the startDate is missing:
    • The 'startDate' parameter is missing!
  • If the both the user and the group parameters are missing:
    • The 'user' or the 'group' parameter is missing!
  • If the startDate is defined erroneously:
    • Cannot parse the 'startDate' parameter: + startDate
  • If the endDate is defined erroneously:
    • Cannot parse the 'endDate' parameter: + endDate

In the case of any other type of error the result is the HTTP Error 500 Internal Server Error status accompanied by the message of the current error.

If the user tries to run the query without authenticating to the JIRA server, then the result is the HTTP Error 401 Unauthorized status: Client must be authenticated to access this resource.

An empty response is returned if:

  • There are no users added to the group.
  • The user does not exist in the system.
  • There are no issues added to the project because
    • none belongs to it,
    • the user has no permission see them.
  • No viewable worklog entry can be found in the given intervall.
  • etc...