Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thebenforce/continue-jira-issue-context-provider
Use Jira issues as context in the Continue plugin
https://github.com/thebenforce/continue-jira-issue-context-provider
Last synced: 22 days ago
JSON representation
Use Jira issues as context in the Continue plugin
- Host: GitHub
- URL: https://github.com/thebenforce/continue-jira-issue-context-provider
- Owner: theBenForce
- License: mit
- Created: 2024-02-14T21:16:10.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-22T20:31:48.000Z (9 months ago)
- Last Synced: 2024-10-04T21:43:54.631Z (about 1 month ago)
- Language: TypeScript
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Continue Jira Issue Context Provider
This is a custom context provider that can be integrated with [Continue](https://continue.dev/). It enables users to select a Jira issue and incorporate its content within their context seamlessly.
## Setup
To get started, navigate your terminal to `~/.continue` directory and execute the following command:
```bash
npm i continue-jira-issue-context-provider
```Next, edit the `~/.continue/config.ts` file so that it looks like this:
```typescript
import JiraContextProvider from "continue-jira-issue-context-provider";export function modifyConfig(config: Config): Config {
if (!config.contextProviders) {
config.contextProviders = [];
}config.contextProviders.push(
JiraContextProvider({
instance: "https://YOUR_INSTANCE.atlassian.net",
email: "YOUR_EMAIL",
token: "JIRA_PERSONAL_ACCESS_TOKEN",
})
);
return config;
}
```### Customizing the Issue Query
By default the following query is used to find issues:
```jql
assignee = currentUser() AND resolution = Unresolved order by updated DESC
```If you want to use a different query, you can override it by passing in the `issueQuery` parameter
when adding the `JiraContextProvider` context provider.## Use
When using Continue, press type @ then select Jira. A list of issues from Jira will show up. You
can continue typing to search through them and highlight the one you want and press enter.