Forums

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

Is there a way to get the author of a commit through Automation in Jira Cloud?

Cash Coyne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2024

I am able to use automation to act on the event of a commit into github, but I can't figure out who did the commit.  It is NOT the initiator as that is blank.

If I go to the issue and click on the development section, I can see this popup and hover over an author to see their login, so that information is available to Jira.  How can I get that login thru automation?

image.png

1 answer

1 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2024

Hi @Cash Coyne 

With the Commit Created automation trigger, I do not believe the author is available.  Here is a suggestion to add that attribute: https://jira.atlassian.com/browse/JRACLOUD-80720

As a work-around could your rule call a REST API function with the Send Web Request action to get the author, based on the other information in the the {{commit}} smart value? https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/#--commit--

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events