Forums

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

How do I use Automate to trigger a rule based on an arbitrary branch name?

Henry Yei
Contributor
August 19, 2020

I am having trouble forcing Jira Automate to execute my rule that starts with `Branch Created` trigger. My GitHub for Jira app is set to have access to all repositories. When I simply push a new branch with name `release/test` to origin, the rule does not execute. I've also tried adding a specific JIRA issue as well as smart commits into the latest commit and then pushing the new branch to origin with no effect. We are on next-gen projects only. 

I suspect only branches created that have a ticket name as part of its name trigger this rule. If so, is there any other way to do what I want?

Screenshot of my test Automate rule.

Screen Shot 2020-08-19 at 3.00.04 PM.png

1 answer

2 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.
October 28, 2020

Hi @Henry Yei 

I believe that you are correct that the issue must be referenced in the branch name.  Please see these two documentation pages for details:

https://support.atlassian.com/jira-software-cloud/docs/automation-triggers/

https://support.atlassian.com/jira-software-cloud/docs/configure-development-tools/

Best 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