- Request data from Jira based on particular filter ID
- Create a CSV file with time statistics (in days or hours) on every ticket and count how many times ticket switched from one status to another.
- Run
npm start <Jira filterId>
(example:npm start 666
)
- Add your JQLs to the
/data/jql.json
file (check the example in the/data/jql.example.json
file) - Run
npm start jql
- Curious Goran will create a separate CSV file for each entry in the
/data/jql.json
file. For example from this/data/jql.json
Curious Goran will make two files -->Bob Torn.csv
andSuper heroes team.csv
. In both of them there will be a result of request.
{
[
{"Bob Torn": "assignee%20%3D5f7d8db66666666006f407c60"},
{"Super heroes team": "project%3D\"Super%20%26%20Heroes\""}
]
}
- Create a token https://id.atlassian.com/manage-profile/security/api-tokens
- Encode it
echo -n [email protected]:api_token_string | base64
- Put the token to
.env
file asJIRA_TOKEN_BASE_64
(check.env.example
file)
- Add base URL to
.env
file asJIRA_BASE_URL
(check.env.example
file)
Curious Goran will add "url" and "title" to resulted CSV. So you shouldn't use these fields in the csv-build-convig.json
- Check
/data/csv-build-config.example.json
file. - Add your own statuses to the csv in the order you would like.
- Rename
csv-build-config.example.json
tocsv-build-config.json
- Check
/src/config.ts
file. There you will find the configuration for Curious Goran. If you need it, change fields in a way you like it.