docker ps # Get ID of the nginx docker container docker logs -f <container-ID> |
Now check if you see a POST request in the nginx container log. Requests from Jira normally have the following structure:
XXX.XXX.XXX.XXX - - [06/May/2020:07:18:46 +0000] "POST /jira-endpoint/XXXXXX?user_id=XXX&user_key=XXX HTTP/1.1" 200 0 "-" "Atlassian Webhook HTTP Client" "-" |
curl -d "test=1" -X POST http://pi-hostnameORip/jira-endpoint |
Check the logs of the nginx container if you see a POST request.
3 Cloud: Check if certificate is valid. Do you have specified the full-chain certificate or only the certificate?
Summary:
This will only log an entry when the webhook has been triggered, so if you don't see any entries, the webhook is not triggering.
You should see some entry like:
AO_4AEACD_WEBHOOK_DAO {ID = 1} 55838 <Possible warning / errors from Jira will appear here> |
The location of the log depends on your configuration. By default you will find it (Linux) /opt/atlassian/jira/logs/catalina.log |