Command line tool to recap count and average of opportunity and closed-win
- Node 20 or higher
- Set up your jira configuration by copying env.example to .env:
cp env.example .env
- Install all package and dependencies.
npm install
- Build the project
npm run build
- Run the script
node dist/Main.js --since 2023-04-04 --until 2024-03-03
- This tool will generate json file, output.json
Example:
[ { "id": "e09bcae1-91d8-4186-966c-8926e87cb5ac", "name": "Elroy Stevens", "opportunityConversionSum": 36461493, "opportunityConversionAverage": 492722.8784, "opportunityConversionCount": 74, "closedWinConversionSum": 47280781, "closedWinConversionAverage": 2055686.1304, "closedWinConversionCount": 23 }, { "id": "30cbd73a-5c87-435c-9e45-1b33261e27b2", "name": "Duane Weber", "opportunityConversionSum": 302427527, "opportunityConversionAverage": 4032367.0267, "opportunityConversionCount": 75, "closedWinConversionSum": 517957, "closedWinConversionAverage": 258978.5, "closedWinConversionCount": 2 } ]
If you want to run this script globally, just simply run this command first in the project directory
sudo npm install -g .
Now you can run this program everywhere, just simply by typing this
bis-tenant --since 2023-04-04 --until 2024-03-03
Usage: Jira issue tracker
Options:
-s, --since <since> Since date
-u, --until <until> Until date
-h, --help display help for command
Made with ❤️ by Aan