# Branch filter for build history graph

**URL:** <https://forum.buildkite.community/t/branch-filter-for-build-history-graph/335>\
**Category:** Features Requests\
**Created:** [February 26, 2019, 4:43pm UTC](https://forum.buildkite.community/t/branch-filter-for-build-history-graph/335 "2019-02-26T16:43:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradchoate](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/bradchoate/32/466_2.png) [@bradchoate](https://forum.buildkite.community/u/bradchoate)\
**Post date:** [February 26, 2019, 4:43pm UTC](https://forum.buildkite.community/t/branch-filter-for-build-history-graph/335/1 "2019-02-26T16:43:55Z")

</div>

Hi–

We have an open source project that has a particular workflow for Buildkite. We have two pipelines in use. One is our normal test/deploy pipeline that _only_ operates on the master branch. The other pipeline is for handling pull requests and feature branches. The production pipeline never runs unapproved (merged to master) code and it runs a build agent that has the secrets configured necessary to release to production.

The non-production pipeline specifically excludes the master branch and only runs tests/coverage steps (no need to test master since the other pipeline handles that). But I have no good “default branch” to select for this pipeline since it builds every branch other than master. So, the build history graph shown on the Pipelines page is static, never updating. It seems like there should be a way to configure a pipeline to graph the history of each and every build that was processed by the pipeline, but I don’t know how to do that. Essentially, I’d like to configure ‘!master’ there, the same branch filter applied for the Branch Limiting option.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![bradchoate](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/bradchoate/32/466_2.png) [@bradchoate](https://forum.buildkite.community/u/bradchoate)\
**Post date:** [March 5, 2019, 6:00am UTC](https://forum.buildkite.community/t/branch-filter-for-build-history-graph/335/2 "2019-03-05T06:00:11Z")

</div>

@anon18197598 any ideas?

---

<div class="post-metadata">

**Author:** ![anon18197598](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@anon18197598](https://forum.buildkite.community/u/anon18197598)\
**Post date:** [March 5, 2019, 6:13am UTC](https://forum.buildkite.community/t/branch-filter-for-build-history-graph/335/3 "2019-03-05T06:13:16Z")

</div>

Apologies for the delay! It’s feedback we’ve heard from a few folks, we’ll see what we can do. At the minute there is nothing that will do that though, unfortunately.

---

<div class="post-metadata">

**Author:** ![Dzenly](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/dzenly/32/569_2.png) [@Dzenly](https://forum.buildkite.community/u/Dzenly)\
**Post date:** [May 24, 2019, 7:36pm UTC](https://forum.buildkite.community/t/branch-filter-for-build-history-graph/335/4 "2019-05-24T19:36:11Z")

</div>

Someone will meet this topic when he searching for some filters for builds.  
For them, this is an answer:  
[https://buildkite.com/myorg/pipelineName/builds?branch=MyBranchName&state=passed](https://buildkite.com/myorg/pipelineName/builds?branch=MyBranchName&state=passed)

But negation seems like not supported in these filters.
