From dbc549e1a277ee14cf89dab284b54f7f5776e44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20R=C3=BCprich?= Date: Mon, 20 May 2024 22:53:22 +0200 Subject: [PATCH] Improved Jira Issues config docs for authentication (#1278) If both the email and the Atlassian API token are provided as written, the JiraClient assumes the token is a password and tries to call the API with username (=email) and password (=token). --- docs/docs/customization/context-providers.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/docs/customization/context-providers.md b/docs/docs/customization/context-providers.md index fd1f8de75..fcb61b6d1 100644 --- a/docs/docs/customization/context-providers.md +++ b/docs/docs/customization/context-providers.md @@ -167,14 +167,13 @@ If you select some code to be edited, you can have the context provider filter o ### Jira Issues -Type '@jira' to reference the conversation in a Jira issue. Make sure to include your own [Atlassian API Token](https://id.atlassian.com/manage-profile/security/api-tokens). +Type '@jira' to reference the conversation in a Jira issue. Make sure to include your own [Atlassian API Token](https://id.atlassian.com/manage-profile/security/api-tokens), or use your `email` and `token`, with token set to your password for basic authentication. If you use your own Atlassian API Token, don't configure your email. ```json { "name": "jira", "params": { "domain": "company.atlassian.net", - "email": "someone@somewhere.com", "token ": "ATATT..." } }