Forums

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

Is there a smart value for merged date?

Danielle Bonneau
Contributor
September 30, 2022

Hello!

I'm trying to create some release train automation, and need a way of accessing the date a PR was merged.  I'm not seeing this in the documentation.  Does anyone know of way to get this info?

 

thanks!

 

-Danielle

1 answer

1 accepted

1 vote
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.
September 30, 2022

Hi @Danielle Bonneau 

I do not believe that is available to automation rules except when the Pull Request Merged trigger fires.

There is an open suggestion to improve the available smart values for the development-related triggers here: https://codebarrel.atlassian.net/browse/AUT-1997

A couple of work-arounds could be to save the information when the PR Merge trigger fires (e.g. in a custom field or comment), or to check for a REST API method in your source control tool and call that with a web request from a rule.

Kind regards,
Bill

Danielle Bonneau
Contributor
October 3, 2022

Thank you for your response Bill, I appreciate your input. 

Like Bill Sheboy likes this

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