floralvikings / jira-connector

NodeJS Wrapper for the Jira REST API
http://floralvikings.github.io/jira-connector/
MIT License
373 stars 180 forks source link

How to fetch total list of issues ?? #67

Closed skalyanapu-mtuity closed 7 years ago

skalyanapu-mtuity commented 7 years ago

Right I see there was privilege to fetch a particular issue by passing its key , where as how would i fetch the list of total issues from the selected project ? referred official API documentation but no luck , is there any such privilege , please suggest me ..

th3l0g4n commented 7 years ago

Use search:

client.search.search({
   jql: 'your jql search string here'
}).then(issues => {
   // list issues for your search 
});

jql can be anything you would enter in JIRA itself. See also: https://docs.atlassian.com/jira/REST/cloud/#api/2/search