npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@circuitwall/jira-align-langchain

v1.0.0

Published

LangChain tools for Atlassian Jira Align (portfolio / SAFe agile) — direct REST calls, no MCP, proxy-aware. Extracted from Jarela.

Readme

@circuitwall/jira-align-langchain

LangChain tools for Atlassian Jira Align (portfolio / SAFe agile) — direct REST calls, no MCP, proxy-aware.

Extracted from Jarela. Works in any Node 20+ LangChain.js / LangGraph project. Inherits whatever HTTP proxy + CA bundle the host runtime configures, so it works on locked-down corp networks where the MCP install path is blocked.

Install

npm install @circuitwall/jira-align-langchain @langchain/core zod

@langchain/core and zod are peer dependencies — bring your own version.

Quick start

import {
  setAuthResolver,
  jiraAlignSearchItemsTool,
  jiraAlignGetItemTool,
  jiraAlignTools,
} from "@circuitwall/jira-align-langchain";

// Option A: rely on env vars (JIRA_ALIGN_URL, JIRA_ALIGN_TOKEN). Nothing to do.

// Option B: plug in your own credential source (vault, UI form, …).
setAuthResolver(() => ({
  url: "https://acme.jiraalign.com",
  apiToken: process.env.MY_JIRA_ALIGN_TOKEN ?? "",
}));

// Use individual tools …
const result = await jiraAlignGetItemTool.invoke({
  type: "feature",
  item_id: "12345",
});

// … or pass the whole array to a LangGraph agent.
const agent = await createReactAgent({ llm, tools: [...jiraAlignTools] });

What's in the box

22 tools covering Jira Align v2:

Work items (read)

  • jira_align_get_item — fetch a single item
  • jira_align_search_items — OData-filterable list per type
  • jira_align_list_children — walk the hierarchy by parent_id

Work items (write)

  • jira_align_create_item
  • jira_align_update_item
  • jira_align_delete_item (confirm-gated)
  • jira_align_transition_item — workflow state change

Comments

  • jira_align_list_comments
  • jira_align_add_comment
  • jira_align_update_comment
  • jira_align_delete_comment (confirm-gated)

Hierarchy entities

  • jira_align_list_entities — programs / teams / releases / sprints / portfolios / value streams
  • jira_align_get_entity
  • jira_align_create_entity
  • jira_align_update_entity
  • jira_align_delete_entity (confirm-gated)

Dependencies (cross-item links)

  • jira_align_list_dependencies
  • jira_align_create_dependency
  • jira_align_delete_dependency (confirm-gated)

Capability groups

For tool-policy systems that need read / write / execute partitions:

import {
  jiraAlignReadTools,    // 7 read-only tools
  jiraAlignWriteTools,   // 14 mutating tools (incl. deletes)
  jiraAlignExecuteTools, // 1 transition tool
} from "@circuitwall/jira-align-langchain";

Low-level escape hatch

For endpoints not yet wrapped as tools:

import { jiraAlignFetch, resolveJiraAlignAuthFromEnv } from "@circuitwall/jira-align-langchain";

const auth = resolveJiraAlignAuthFromEnv();
if (!("error" in auth)) {
  const data = await jiraAlignFetch(auth, "/rest/align/api/2/programs?limit=10");
}

API notes

  • v2 has no /items endpoint. Every tool that touches a work item takes a required type arg so the package can route to the right /<type>s collection (epic / capability / feature / story / theme / task / defect / objective).
  • Field shapes vary by instance. JA exposes custom fields, custom workflow states, and instance-specific portfolio configs. If a tool 4xx's on what looks like a valid call, check your instance's Swagger at <instance>.jiraalign.com/rest/align/api/docs/.
  • Auth is bearer, not basic. Jira Align uses a single API token (created in Settings → Personal Access Tokens), NOT email + token like Jira Cloud.

License

Apache-2.0