0.3.0 • Published 9 months ago

qansigliere-jira-api-integration v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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

Issue search

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();

Related Videos

Improvements & Suggestions

https://forms.gle/GZbS9hw42tSYJxKL7

0.3.0

9 months ago

0.2.2

10 months ago

0.2.1

10 months ago

0.2.0

10 months ago

0.1.0

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago