All Collections
Best Practices
How does Haystack calculate Draft Pull requests?
How does Haystack calculate Draft Pull requests?

Quick explainer on how Drafts impact your Change Lead Time

Julian Colina avatar
Written by Julian Colina
Updated over a week ago

Draft pull requests are used for early collaboration or as design documents. In this doc, we'll go over how Haystack handles draft pull requests.

Where does Haystack count draft time?

By default, Haystack ignores all pull requests in draft. This can be reverted from exclusions page.

If the draft pull requests leaves draft state, Haystack will calculate draft time as development time.

In Haystack we consider draft pull requests as part of the development cycle. This means if a pull requests was in draft stage, we will count it in development time. Once the pull request is explicit tagged as "Ready To Merge" or "Mark as Ready", we will consider it review time.

How to ignore draft pull requests from being shown in risks and notifications.

tl;dr Use exclusion rules

You can ignore draft pull requests from being sent in risk notifications by creating a new exclusion rule. You can do this in Exclusions page.

Did this answer your question?