JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1387
  • Score
    100M100P100Q116120F
  • License MIT

The main idea of ​​this library created in the JavaScript language is to provide a ready-made set of API methods for integration with JIRA

Package Exports

  • qansigliere-jira-api-integration
  • qansigliere-jira-api-integration/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (qansigliere-jira-api-integration) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

qansigliere-jira-api-integration

The main idea of ​​this library created in the JavaScript language is to provide a ready-made set of API methods for integration with JIRA

Author

https://www.youtube.com/@QANSIGLIERE/

Support the project

https://buymeacoffee.com/qansigliere

Installation

Using npm npm i qansigliere-jira-api-integration

How to use it

Create a *.env file

Create any *.env file (like jira.env) and write the following information in the created file

export JIRA_URL="__YOUR_JIRA_URL__"
export JIRA_USERNAME="__YOUR_JIRA_EMAIL__"
export JIRA_APIKEY="__YOUR_JIRA_APIKEY__"

Make the *.env file works

Just run in the terminal the following command: source yourfile.env

And now You can make any API call to Your JIRA

var { JIRA_API } = require('qansigliere-jira-api-integration');

(async function Demo() {
    let new_integration = new JIRA_API();
    let resp = await new_integration.download_search_jql('STATUS CHANGED AFTER -2W ORDER BY created DESC');
    console.log(JSON.stringify(resp));
})();

API Documentation

JIRA documentation is present here

Search for issues using JQL enhanced search (GET)

let new_integration = new JIRA_API();
let resp = await new_integration.download_search_jql('STATUS CHANGED AFTER -2W ORDER BY created DESC');

Issues

JIRA documentation is present here

Get issue

let new_integration = new JIRA_API();
let resp = await new_integration.get_issue('10178');

Issue fields

JIRA documentation is present here

Get fields

let new_integration = new JIRA_API();
let resp = await new_integration.get_field();

Users

JIRA documentation is present here

Get all users

let new_integration = new JIRA_API();
let resp = await new_integration.get_all_users();

Get all users default

let new_integration = new JIRA_API();
let resp = await new_integration.get_all_users_by_default();

Improvements & Suggestions

https://forms.gle/GZbS9hw42tSYJxKL7