This project is a solution to retrieve and display components without a component lead, along with the number of issues for each component, using the Jira REST API.
- Node.js (v14 or above)
- Axios library
- dotenv package
- Install the dependencies:
npm install
- Enter the Jira credentials in
.env
file. If the Jira API endpoint has public access and does not require authentication, you can omit theJIRA_EMAIL
andJIRA_API_TOKEN
values in the.env
file. The script will still work as expected.
To run the script and retrieve the components without a component lead and their issue count, execute the following command:
node jira-api.js