How can I reference the commit hash in a Jira issue?
My use case is that I am setting up a Jira automation for our CI/CD pipeline - so I am able to get the short commit hash, and the Jira tasks are in fact linked to the commits already. Thus when I receive a webhook that a specific component is deployed, it searches Jira for tasks in the proper status with the component received from the webhook data, but this is where I am stuck: I need to make an advanced comparison, if the found Jira task has this short commit hash that I also supply with the webhook data. (See screenshots).
This document was a good start, but I am unable to retrieve the commit hash from an issue in order to compare it: https://support.atlassian.com/jira-software-cloud/docs/smart-values-development