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.