# Limiting trigger for new branches made from JIRA

**URL:** <https://drone.discourse.group/t/limiting-trigger-for-new-branches-made-from-jira/5000>\
**Category:** Drone Support\
**Created:** [August 31, 2020, 7:42am UTC](https://drone.discourse.group/t/limiting-trigger-for-new-branches-made-from-jira/5000 "2020-08-31T07:42:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![userException](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/userexception/32/3476_2.png) [@userException](https://drone.discourse.group/u/userException)\
**Post date:** [August 31, 2020, 7:42am UTC](https://drone.discourse.group/t/limiting-trigger-for-new-branches-made-from-jira/5000/1 "2020-08-31T07:42:35Z")

</div>

Hi folks, I have been using drone for some time now and understand the purpose of triggers and events. Let’s say I would like to execute a drone step only when the branch is master/development/feature and the event is push/pull\_request. I’d write:

trigger:  
branch:  
- master  
- development  
- feature/\*  
event:  
- push  
- pull\_request

Now what’s happening is, let’s say someone created a new branch from “development” by the name of feature/MOBL-100 from JIRA. This is also considered as a push event and my drone step is executed. Since I am creating a new branch from development I don’t want to run one of my drone steps. Is this doable?
