A shovel comprising: a lower running body; an upper turning body turnably mounted on the lower running body; a boom attached to the upper turning body, an arm attached to a leading end of the boom, an end attachment attached to a leading end of the arm; a hydraulic pump configured to supply a hydraulic oil to a cylinder of the boom, a cylinder of the arm and a cylinder of the end attachment; an engine configured to drive the hydraulic pump; a cabin provided in the upper turning body; and a controller configured to control a discharge flow rate of a hydraulic oil from the hydraulic pump; characterized in that the controller includes an attachment condition determination part configured to determine whether the end attachment or the leading end of the arm is within a predetermined upper working range, and an operating condition switching part configured to maintain the discharge flow rate of the hydraulic oil at a first flow rate upon determining that the end attachment or the leading end of the arm is not within the predetermined upper working range and to switch the discharge flow rate of the hydraulic oil from the first flow rate to a second flow rate that is lower than the first flow rate upon determining that the end attachment or the leading end of the arm is within the predetermined upper working range, wherein the operating condition switching part does not switch the flow rate of the hydraulic oil from the first flow rate to the second flow rate when the upper turning body is turning and/or the lower running body is running even if it is determined that the end attachment or the leading end of the arm is within the predetermined upper working range. a lower running body; an upper turning body turnably mounted on the lower running body; a boom attached to the upper turning body, an arm attached to a leading end of the boom, an end attachment attached to a leading end of the arm; a hydraulic pump configured to supply a hydraulic oil to a cylinder of the boom, a cylinder of the arm and a cylinder of the end attachment; an engine configured to drive the hydraulic pump; a cabin provided in the upper turning body; and a controller configured to control a discharge flow rate of a hydraulic oil from the hydraulic pump; characterized in that the controller includes an attachment condition determination part configured to determine whether the end attachment or the leading end of the arm is within a predetermined upper working range, and an operating condition switching part configured to maintain the discharge flow rate of the hydraulic oil at a first flow rate upon determining that the end attachment or the leading end of the arm is not within the predetermined upper working range and to switch the discharge flow rate of the hydraulic oil from the first flow rate to a second flow rate that is lower than the first flow rate upon determining that the end attachment or the leading end of the arm is within the predetermined upper working range, wherein the operating condition switching part does not switch the flow rate of the hydraulic oil from the first flow rate to the second flow rate when the upper turning body is turning and/or the lower running body is running even if it is determined that the end attachment or the leading end of the arm is within the predetermined upper working range.