continue
continue copied to clipboard
issues with jira context provider and incomplete documentation
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Windows 11
- Continue: 0.9.197
- IDE: vscode 1.93.0
- Model: not relevant
- config.json:
{
"name": "jira",
"params": {
"domain": "xxx.atlassian.net",
"token": "xxxxx",
"email": "[email protected]",
"apiVersion": 3
}
},
Description
In the documentation for jira context provider, it is mentioned to fill only "domain" and "token" in config.json. However, I've not been able to make it work on our jira cloud. I was getting an error 403 (forbidden) systematically, until I filled the properties "email" and "apiVersion", which allowed to get a list of jira issues. On this, the documentation looks incomplete.
But when I reference a JIRA issue in the chat, I then get another error:
'''
Error getting context items from jira: TypeError: (0,
import_adf_to_md.default) is not a function
'''
So, the chat cannot get the content of the jira issue.
To reproduce
- ensure to have a jira cloud account, then create an API token in https://id.atlassian.com/manage-profile/security/api-tokens
- configure the jira context provider with parameters: domain, token, email, apiVersion
- in the chat, use the jira context provider to grab an open issue assigned to you, then click on it to reference it in the chat
- ask a question like "what's the outcome for this ticket?"
- you should see the error tooltip appear
Log output
there's nothing written in core.log or prompt.log when using this context provider.