• Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Triggers
    • None
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      It is currently not possible to add conditions for triggers on build plans.

      If you want a "Bitbucket Server repository trigger" but also a Tag trigger, those will not be able to work in different scenarios. 

      The tag trigger currently has the ability to have a filter for the tag, but it would be beneficial if a condition can also be added where it will only work on, say, a specific branch.

      These conditions should accept a bamboo property, so should work much the same way like task conditions currently work.

      It would also be great if more than one condition can be added. If more than one condition exist on a trigger, then it should be executed top to bottom.

            [BAM-21424] Plan Trigger Conditions

            There's a Trigger Condition API which allows you to build plugin which adds condition to any trigger. Condition allows Bamboo to decide if specific trigger should be activated if condition is met. As reference you can look at source code of com.atlassian.bamboo.buildtrigger.PlansGreenCondition which is available if you have valid Bamboo license at my.atlassian.com

            Alexey Chystoprudov added a comment - There's a Trigger Condition API which allows you to build plugin which adds condition to any trigger. Condition allows Bamboo to decide if specific trigger should be activated if condition is met. As reference you can look at source code of com.atlassian.bamboo.buildtrigger.PlansGreenCondition which is available if you have valid Bamboo license at my.atlassian.com

              Unassigned Unassigned
              24e8330407c7 Marais Van Zyl
              Votes:
              6 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: