desc: 'Return issues that have no due date (`0`), or whose due date is this week, this month, between two weeks ago and next month, or which are overdue. Accepts: `overdue`, `week`, `month`, `next_month_and_previous_two_weeks`, `0`'
optional:issue_type,type: String,values: WorkItem::Type.base_types.keys,desc: "The type of the issue. Accepts: #{WorkItem::Type.base_types.keys.join(', ')}"
optional:issue_type,type: String,values: WorkItem::Type.allowed_types_for_issues,desc: "The type of the issue. Accepts: #{WorkItem::Type.allowed_types_for_issues.join(', ')}"
use:issues_stats_params
use:pagination
...
...
@@ -99,7 +99,7 @@ module API
optional:due_date,type: String,desc: 'Date string in the format YEAR-MONTH-DAY'
optional:confidential,type: Boolean,desc: 'Boolean parameter if the issue should be confidential'
optional:discussion_locked,type: Boolean,desc: " Boolean parameter indicating if the issue's discussion is locked"
optional:issue_type,type: String,values: WorkItem::Type.base_types.keys,desc: "The type of the issue. Accepts: #{WorkItem::Type.base_types.keys.join(', ')}"
optional:issue_type,type: String,values: WorkItem::Type.allowed_types_for_issues,desc: "The type of the issue. Accepts: #{WorkItem::Type.allowed_types_for_issues.join(', ')}"