Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Find issues by commit hash

Anton Zolotarjov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 21, 2020

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-developmentScreenshot 2020-09-21 164330.pngScreenshot 2020-09-21 164657.png

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events