Forums

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

Can I get the value of the branch the Pull Request is merging to?

jaimecatalistx
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!
April 15, 2020

I am trying to create a new rule, that if I have an open Pull Request, and I merge it to the branch develop, I want to trigger  and action so that the issue is moved to the DONE column. I found this info https://support.atlassian.com/jira-software-cloud/docs/smart-values-development/ but it does not seem to have the information of the branch I am going to merge to.

1 answer

0 votes
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.
June 29, 2020

Hi @jaimecatalistx 

What information of the branch are you looking for?

If you have an example of an issue that has merged and moved to done, you could make a call to the REST API to see if any other smart values are available.  Please see here for more information on how to do that: https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/

 

Best regards,

Bill

Suggest an answer

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

Atlassian Community Events