🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@robinpath/jira

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robinpath/jira

Atlassian Jira Cloud REST API — issues, projects, comments, transitions, users, labels, priorities, issue types, plus the Agile API for boards and sprints. Uses the encrypted credential vault.

latest
npmnpm
Version
0.3.0
Version published
Maintainers
4
Created
Source

@robinpath/jira

Jira module for RobinPath.

Category Functions Auth License

Why use this module?

The jira module lets you:

  • Create a new Jira issue.
  • Get a Jira issue by key.
  • Update fields on a Jira issue.
  • Delete a Jira issue.
  • Assign a Jira issue to a user.

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

robinpath add @robinpath/jira

Quick Start

1. Set up credentials

jira.setCredentials "mycompany.atlassian.net" "user@example.com" "your-api-token"

2. Create a new Jira issue.

jira.createIssue "PROJ" "Task" "Fix login bug" {"description":"Login page returns 500","priority":"High"}

Available Functions

FunctionDescription
jira.setCredentialsSet Jira Cloud credentials for API access.
jira.createIssueCreate a new Jira issue.
jira.getIssueGet a Jira issue by key.
jira.updateIssueUpdate fields on a Jira issue.
jira.deleteIssueDelete a Jira issue.
jira.assignIssueAssign a Jira issue to a user.
jira.transitionIssueTransition a Jira issue to a new status.
jira.addCommentAdd a comment to a Jira issue.
jira.getCommentsList comments on a Jira issue.
jira.searchIssuesSearch Jira issues using JQL.
jira.listProjectsList all accessible Jira projects.
jira.getProjectGet details of a Jira project.
jira.listBoardsList Jira agile boards.
jira.getBoardSprintsGet sprints for a Jira board.
jira.getSprintIssuesGet issues in a sprint.
jira.addLabelAdd a label to a Jira issue.
jira.removeLabelRemove a label from a Jira issue.
jira.getTransitionsGet available status transitions for a Jira issue.
jira.addAttachmentAdd a file attachment to a Jira issue.
jira.listUsersSearch for Jira users.
jira.getUserGet a Jira user by account ID.
jira.addWatcherAdd a watcher to a Jira issue.
jira.removeWatcherRemove a watcher from a Jira issue.
jira.listPrioritiesList all available Jira priorities.
jira.listIssueTypesList available issue types, optionally filtered by project.

Examples

Create a new Jira issue.

jira.createIssue "PROJ" "Task" "Fix login bug" {"description":"Login page returns 500","priority":"High"}

Get a Jira issue by key.

jira.getIssue "PROJ-123"

Update fields on a Jira issue.

jira.updateIssue "PROJ-123" {"summary":"Updated summary","priority":{"name":"High"}}

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/jira";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  jira.setCredentials "mycompany.atlassian.net" "user@example.com" "your-api-token"
  jira.createIssue "PROJ" "Task" "Fix login bug" {"description":"Login page returns 500","priority":"High"}
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

License

MIT

Keywords

jira

FAQs

Package last updated on 06 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts