From c2ae432489a9e644d83069e2e3bae20b2f1f06eb Mon Sep 17 00:00:00 2001 From: Norwin Date: Tue, 22 Dec 2020 03:47:17 +0000 Subject: Add user filter to issueTrackedTimes, enable usage for issue managers (#14081) * add user filter to issueTrackedTimes fixes #14024 * update swagger * allow user filter for issue writers * improve swagger doc * return 404 on invalid user --- templates/swagger/v1_json.tmpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index bb3b6b4fed..d0303040c5 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -5840,6 +5840,12 @@ "in": "path", "required": true }, + { + "type": "string", + "description": "optional filter by user (available for issue managers)", + "name": "user", + "in": "query" + }, { "type": "string", "format": "date-time", @@ -8811,7 +8817,7 @@ }, { "type": "string", - "description": "optional filter by user", + "description": "optional filter by user (available for issue managers)", "name": "user", "in": "query" }, -- cgit v1.2.3