Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle custom statuses for the pause SLA configuration #22349

Merged
merged 5 commits into from
Jun 25, 2020

Conversation

ruchamahabal
Copy link
Member

@ruchamahabal ruchamahabal commented Jun 19, 2020

Fixes for two issues:

  • The response and resolution variables are unset on statuses configured for Hold and reset when the issue changes from a status configured for Hold to "Open" by adding the hold time. However, it should do so for any status which is not configured for hold otherwise the SLA fails for custom statuses as response and resolution variance fields are unset.
    fix for code line: https://github.com/frappe/erpnext/blob/develop/erpnext/support/doctype/issue/issue.py#L104

  • The total hold time field should only be set if on_hold_since is captured and hold configurations are enabled in the SLA document.

@nabinhait nabinhait self-assigned this Jun 22, 2020
@hrwX hrwX merged commit 7b3700b into frappe:develop Jun 25, 2020
@ruchamahabal
Copy link
Member Author

@Mergifyio backport version-13-beta-pre-release

@mergify
Copy link
Contributor

mergify bot commented Jun 26, 2020

Command backport version-13-beta-pre-release: failure

No backport have been created

  • Backport to branch version-13-beta-pre-release failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants