Jenkins for Jira add on reports no server connection
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Jenkins Integration fails with the message "Error message from Jira: JWT verification failed. Please make sure you configured the same secret in Jenkins and Jira"
Environment
Jira Cloud
Cause
JWT uses a time-based claim "iat — issued at" which can be used to reject tokens if the time sync is ahead on the resource server.
Solution
Synchronize the time on the Jenkins server if it is ahead or behind the actual time