Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Jira ContextNew to Visual Studio Code? Get it now.
Jira Context

Jira Context

Sharad Bharsakal

|
3 installs
| (0) | Free
Download a Jira story (Cloud or Server/Data Center) and convert it into a local context file for AI coding assistants (Cursor, Copilot, etc.).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Jira Context

Turn a Jira story into a local AI-ready context file for Cursor, Copilot, and other coding assistants.

Supported: Jira Cloud and Jira Server / Data Center — use your org’s Jira site URL.

What it does

  1. Connects to your org Jira site (Cloud or Server / Data Center)
  2. Fetches a story by key (for example ABC-123)
  3. Writes a clean .context/ABC-123.txt file you can give to an AI assistant

Setup (3 steps)

Step 1 — Install

Marketplace

  1. Open Extensions (Cmd+Shift+X or Ctrl+Shift+X)
  2. Search for Jira Context
  3. Click Install

On first install, click Get Started when the welcome prompt appears.
Or run Jira Context: Welcome anytime from the Command Palette (Cmd+Shift+P / Ctrl+Shift+P).

From VSIX (optional)

  1. Command Palette → Extensions: Install from VSIX...
  2. Select jira-context-*.vsix
  3. Reload the window if asked

Step 2 — Add Jira credentials

  1. Command Palette → Jira Context: Update Credentials
  2. Enter your org URL and login details:
Field Jira Cloud Jira Server / Data Center
Base URL https://your-company.atlassian.net https://jira.company.com (add /jira if your org uses a context path)
Email / Username Atlassian account email Jira username (or email if your org uses it)
Token / Password API token Password or Personal Access Token (PAT)

The extension detects Cloud vs Server from the URL automatically.

Do not paste issue links like /browse/ABC-123.

Credentials are saved in VS Code / Cursor Secret Storage only — not in project files.

Step 3 — Generate a context file

  1. Open a project folder in VS Code / Cursor (required)
  2. Command Palette → Jira Context: Generate Story Context
  3. Enter the issue key (example: ABC-123)
  4. Wait for the file to open — usually at .context/ABC-123.txt
  5. Attach or reference that file in Cursor / Copilot when you implement the story

Done.


Commands

Command When to use it
Jira Context: Welcome Open the guided walkthrough
Jira Context: Update Credentials First setup, or when login fails
Jira Context: Generate Story Context Create / refresh a story context file

Optional settings

Open Settings and search for Jira Context:

Setting Default Meaning
Include Comments on Add Jira comments to the file
Context Folder .context Where files are written
Auto Open File on Open the file after generation
Overwrite Existing Ask Ask before replacing an existing file

Troubleshooting

Commands do not appear

  1. Reload the window: Command Palette → Developer: Reload Window
  2. Search again for Jira Context (include the J)
  3. Confirm the extension is enabled in Extensions

Authentication failed (401)

Cloud

  1. Run Jira Context: Update Credentials
  2. Use your Atlassian email + a new API token
  3. Base URL must be https://your-company.atlassian.net

Server / Data Center

  1. Confirm username (not always email)
  2. Try password, or a Personal Access Token if your admin enabled PATs
  3. Confirm Base URL includes any context path (example: https://jira.company.com/jira)

Unable to reach Jira / network error

  1. Open the same Base URL in a browser
  2. Check VPN / proxy / firewall
  3. Confirm the URL host and port are correct for your org

Issue not found (404)

  1. Check the key format: PROJECT-123 (not a URL)
  2. Open that issue in Jira with the same account
  3. Confirm project access
  4. On Server/DC, confirm the Base URL context path is correct

Access denied (403)

Your account can connect, but cannot view that issue. Ask for project access, or try another issue.

No workspace folder is open

Open a folder first (File → Open Folder), then run Generate Story Context again.
Context files are written inside the opened project.

File did not appear

  1. Look under .context/ in the project root
  2. Check Settings → Context Folder
  3. Open View → Output → select Jira Context for details

Still stuck?

  1. View → Output → choose Jira Context
  2. Copy the latest error lines
  3. Re-run Update Credentials, then Generate Story Context

What the generated file contains

Example path: .context/ABC-123.txt

  • Story metadata (key, summary, status, priority, type, people, labels, components, epic, links)
  • Description
  • Acceptance Criteria
  • Comments (if enabled)
  • AI implementation instructions
  • Implementation checklist

Known limits

  • One workspace folder is used for output (the first open folder)
  • Some Server/DC auth setups (SSO-only, cert auth) may need a PAT or local password enabled by your admin
  • Attachments, Confluence pages, and sprint boards are not fetched yet

Develop this extension locally

  1. Open this repo
  2. npm install
  3. Press F5
  4. In the new window, run Jira Context: Welcome

License

MIT

Repository

https://github.com/sharadbharsakal/Jira-Context

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft