From e05ef9b200b6df1f45fefe3e86825ba7e20164e0 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Fri, 14 Mar 2025 16:41:02 +0100 Subject: [PATCH] added documentation for maxResult --- docs/docs/customize/context-providers.mdx | 5 +++++ extensions/vscode/config_schema.json | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/docs/docs/customize/context-providers.mdx b/docs/docs/customize/context-providers.mdx index 41c6edc57..b31deedf4 100644 --- a/docs/docs/customize/context-providers.mdx +++ b/docs/docs/customize/context-providers.mdx @@ -879,6 +879,11 @@ assignee = currentUser() AND resolution = Unresolved order by updated DESC You can override this query by setting the `issueQuery` parameter. +#### Max results + +You can set the `maxResults` parameter to limit the number of results returned. The default is `50`. + + ### `@Discord` Reference the messages in a Discord channel. diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index bf83c1234..78d73320d 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -2329,6 +2329,10 @@ "type": "string", "description": "Customize the query used to find Jira issues" }, + "maxResults": { + "type": "string", + "description": "The maximum number of issues that will be returned. Defaults to 50." + }, "apiVersion": { "type": "integer", "markdownDescription": "This context provider supports both Jira API version 2 and 3. It will use version 3 by default since that's what the cloud version uses, but if you have the datacenter version of Jira, you'll need to set the API Version to 2 using the `apiVersion` property.",