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).
This commit is contained in:
Holger Rüprich 2024-05-20 22:53:22 +02:00 • committed by GitHub
parent 046bca088a
commit dbc549e1a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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..."
}
}