I am writing a polling script that should check automatically on regular basis if there are new issues in service desk which have not been assigned (i.e. with status "Waiting for support". If it is still unassigned after 15 minutes after arrival, the script will make a phone call to specific number.
To do that, I found API call with curl that can display issue in particular queue, such as: curl -s -u "myusername:apitoken" -X GET -H "Content-Type: application/json" https://mycompany.atlassian.net/rest/servicedeskapi/servicedesk/8/queue/92/issue
So I thought to check a timestamp in epoch format and compare to current time, however I cannot see "epoch" time in output from above, or if I use /rest/api/2/issue/10773 - I only see timestamps in human readable form.
Any advises appreciated, thanks!