Commit cf8caad3 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '254250-add-time-tracking-to-incidents' into 'master'

Allow time tracking in incidents

See merge request gitlab-org/gitlab!42965
parents 043f967c fb6cffe5
......@@ -182,7 +182,7 @@ module Issuable
end
def supports_time_tracking?
is_a?(TimeTrackable) && !incident?
is_a?(TimeTrackable)
end
def supports_severity?
......
---
title: Allow time tracking in incidents
merge_request: 42965
author:
type: changed
......@@ -824,7 +824,7 @@ RSpec.describe Issuable do
where(:issuable_type, :supports_time_tracking) do
:issue | true
:incident | false
:incident | true
:merge_request | true
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment