npm module for JIRA Rest Api's wrapper implementation in NodeJS

naresh vunnam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 12, 2024

 

 

We want to create a wrapper in node js for JIRA rest api calls. Is there any official npm module available or can you please guide me through this?

The requirement is as follows:

  • User authentication
  • If a user has access to a particular project then only he can create/update the issue or create story/bug/epic/task/sub-task.
  • Before doing any operation there must be permissions check.
  • Get the list of story/bug/epic/task/sub-task

1 answer

0 votes
Hariharan Iyer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 12, 2024

Hi @naresh vunnam 

 

As mentioned in the docs, officially Atlassian only supports the Connect SDK and the Forge SDK. There are some unofficial wrappers available over the REST API, though, for example

https://www.npmjs.com/package/jira-client

https://www.npmjs.com/package/jira-connector

 

Hope that helps!

 

~ Hariharan

naresh vunnam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2024

Hi @Hariharan Iyer , 

Thanks for reply , I tried to integrate jira-client in my application but node throughing error as i mentioned below 


Error: {"errno":-4046,"code":"EPROTO","syscall":"write"}
at JiraApi.doRequest (\jira-test\node_modules\jira-client\lib\jira.js:349:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fetchResults (file:///jira-test/index.js:27:19)

Node.js v20.13.1

Suggest an answer

Log in or Sign up to answer